Skip to content

Commit d2d2806

Browse files
committed
fix: type error
Signed-off-by: Innei <[email protected]>
1 parent 0245f4e commit d2d2806

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/app/(app)/notes/[id]/page.tsx

+4-6
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ import {
3434
NoteTitle,
3535
} from './pageExtra'
3636

37-
const NotePage = async function (
38-
props: NextPageParams<{
37+
export default async function Page(props: {
38+
params: {
3939
id: string
40-
}>,
41-
) {
40+
}
41+
}) {
4242
const { data } = await getData(props.params)
4343
return (
4444
<>
@@ -93,5 +93,3 @@ const NotePage = async function (
9393
</>
9494
)
9595
}
96-
97-
export default NotePage

0 commit comments

Comments
 (0)