isRouteWithFallback()
does not work anymore
#116
Labels
type: bug
code to address defects in shipped code
isRouteWithFallback()
was recently made async.https://github.com/netlify/netlify-plugin-nextjs/blob/61b61f57d58ae095e3522c86013c75823911179b/src/lib/helpers/isRouteWithFallback.js#L3
However, one of its callers is missing the
await
keyword, which means it will always returntrue
https://github.com/netlify/netlify-plugin-nextjs/blob/61b61f57d58ae095e3522c86013c75823911179b/src/lib/pages/getStaticProps/setup.js#L41
The text was updated successfully, but these errors were encountered: