This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
fix: using useFetch
breaks raise undefined error on 404 page
#554
Labels
bug
Something isn't working
π 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: