Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

useGaia hook causes a catastrophic app error if your network is disconnected upon page load #14

Open
aviculturist opened this issue Nov 5, 2021 · 0 comments

Comments

@aviculturist
Copy link
Contributor

The useGaia hook causes a catastrophic app error if your network is disconnected upon page load:

TypeError: Failed to fetch```

I've implemented a simple illustration of the error using the example app:

https://github.com/aviculturist/micro-stacks-examples/commit/361583be1d09729ed2c7719214ae60998ec81b62

To trigger the error, unplug your network prior to loading the app.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant