Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit cbb84c3

Browse files
author
Je
committed
chore: update hello-world example
1 parent e69ca3e commit cbb84c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/hello-world/app.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import React, { ComponentType } from 'https://esm.sh/react'
22
import { Head } from 'https://deno.land/x/aleph/mod.ts'
33

4-
export default function App({ Page }: { Page: ComponentType }) {
4+
export default function App({ Page, pageProps }: { Page: ComponentType<any>, pageProps: any }) {
55
return (
66
<>
77
<Head>
88
<title>Hello World - Aleph.js</title>
99
</Head>
10-
<Page />
10+
<Page {...pageProps} />
1111
</>
1212
)
1313
}

0 commit comments

Comments
 (0)