Skip to content

Commit 1bcbc30

Browse files
committed
update RR route exports
1 parent 4d77a70 commit 1bcbc30

File tree

43 files changed

+43
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+43
-44
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as AccessibleIcon from '@repo/test-registry/components/accessible-icon';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <AccessibleIcon.Basic />;
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Accordion from '@repo/test-registry/components/accordion';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <Accordion.Basic />;
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as AlertDialog from '@repo/test-registry/components/alert-dialog';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <AlertDialog.Basic />;
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Arrow from '@repo/test-registry/components/arrow';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <Arrow.Basic />;
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as AspectRatio from '@repo/test-registry/components/aspect-ratio';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <AspectRatio.Basic />;
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Avatar from '@repo/test-registry/components/avatar';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <Avatar.Basic />;
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Checkbox from '@repo/test-registry/components/checkbox';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <Checkbox.Basic />;
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Collapsible from '@repo/test-registry/components/collapsible';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <Collapsible.Basic />;
55
}

apps/test-react-router-rsc/app/routes/collection/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
StableItem,
77
} from '@repo/test-registry/components/collection';
88

9-
export default function Page() {
9+
export async function ServerComponent() {
1010
return (
1111
<div>
1212
<h2>Unstable Collection</h2>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as ContextMenu from '@repo/test-registry/components/context-menu';
22

3-
export default function Page() {
3+
export async function ServerComponent() {
44
return <ContextMenu.Basic />;
55
}

0 commit comments

Comments
 (0)