Skip to content

Commit 423ff30

Browse files
committed
chore: restore secondary copyright banners
These files dropped the '/* Copyright (c) Facebook, Inc. */' banner when the 'use client' directive was added. Restore it above the directive (comments may precede a directive without disabling it).
1 parent 4efe72d commit 423ff30

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/components/Layout/Page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
/*
9+
* Copyright (c) Facebook, Inc. and its affiliates.
10+
*/
11+
812
'use client';
913

1014
import {Suspense} from 'react';

src/components/MDX/MDXComponents.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
/*
9+
* Copyright (c) Facebook, Inc. and its affiliates.
10+
*/
11+
812
'use client';
913

1014
import {Children, useContext, useMemo} from 'react';

src/components/Search.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
/*
9+
* Copyright (c) Facebook, Inc. and its affiliates.
10+
*/
11+
812
'use client';
913

1014
import Link from 'next/link';

src/hooks/usePendingRoute.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
/*
9+
* Copyright (c) Facebook, Inc. and its affiliates.
10+
*/
11+
812
// App Router has no equivalent of router.events. Pending-state highlighting is
913
// dropped; <Link> still triggers transitions internally.
1014
const usePendingRoute = (): string | null => null;

0 commit comments

Comments
 (0)