Skip to content

Commit

Permalink
Fix Error Message
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Feb 27, 2020
1 parent 5cba994 commit 663f5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/utils.ts
Expand Up @@ -539,7 +539,7 @@ export async function buildStaticPaths(

if (typeof staticPathsResult.fallback !== 'boolean') {
throw new Error(
`The \`fallback\` key must be returned from unstable_getStaticProps in ${page}.\n` +
`The \`fallback\` key must be returned from unstable_getStaticPaths in ${page}.\n` +
expectedReturnVal
)
}
Expand Down

0 comments on commit 663f5c4

Please sign in to comment.