Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Mar 27, 2024
1 parent 0245f4e commit d2d2806
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/app/(app)/notes/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ import {
NoteTitle,
} from './pageExtra'

const NotePage = async function (
props: NextPageParams<{
export default async function Page(props: {
params: {
id: string
}>,
) {
}
}) {
const { data } = await getData(props.params)
return (
<>
Expand Down Expand Up @@ -93,5 +93,3 @@ const NotePage = async function (
</>
)
}

export default NotePage

0 comments on commit d2d2806

Please sign in to comment.