You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes it tidier and easier to keep on top of. E.g. you export setUser so that you can log the user out from <Nav> - however the logOut function you call (also from context) runs setUser(null) anyway, so you don't need to export it.
This is awesome and works really well. What I would suggest instead is exporting loading, and using that in your <Layout> component, so that you don't lose the page each time, i.e.
This makes it tidier and easier to keep on top of. E.g. you export
setUser
so that you can log the user out from<Nav>
- however thelogOut
function you call (also from context) runssetUser(null)
anyway, so you don't need to export it.Meanwhile!
This is awesome and works really well. What I would suggest instead is exporting
loading
, and using that in your<Layout>
component, so that you don't lose the page each time, i.e.The text was updated successfully, but these errors were encountered: