The most voted answer is not correct in my NextJs 15 project.
export default function Post: NextPage<Props> ({ project }) {
}
It asks for
'=>' expected.
And in addition, this is not how the function is declared.
If we want to keep a function
export default function Post({
…
Top comments (0)