fix: using useFetch
breaks raise undefined error on 404 page
#554
Labels
bug
Something isn't working
useFetch
breaks raise undefined error on 404 page
#554
๐ The bug
When using
useFetch
composable inside setup function will raise undefined error when navigating to 404 page.I think this might be related to generating
fetchKey
๐ ๏ธ To reproduce
This issue only happens in static website, Steps to reproduce the behavior:
yarn generate
yarn start
/404
page and check web console๐ Expected behaviour
Evaluating fetch hook without raising an error.
The text was updated successfully, but these errors were encountered: