We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 314356e commit 8fb33b0Copy full SHA for 8fb33b0
packages/nextjs/test/integration/pages/users/[id].tsx
@@ -52,6 +52,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
52
// will receive `item` as a prop at build time
53
return { props: { item } };
54
} catch (err) {
55
- return { props: { errors: err.message } };
+ return { props: { errors: (err as Error).message } };
56
}
57
};
0 commit comments