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
I see that we would always be logging AuthProvider context is undefined, please verify you are calling useAuth() as child of a <AuthProvider> component when the AuthProvider is not included.
What are people's thoughts on making whether this warning shows up configurable? Could be defaulted to true.
The usecase is we have a version of our site with JS-disabled, and in that pathway, we don't attach the provider. What happens within our build systems is we just see tons of these logs.
Curious about your thoughts -- thanks!
The text was updated successfully, but these errors were encountered:
Context:
I see that we would always be logging
AuthProvider context is undefined, please verify you are calling useAuth() as child of a <AuthProvider> component
when theAuthProvider
is not included.What are people's thoughts on making whether this warning shows up configurable? Could be defaulted to true.
The usecase is we have a version of our site with JS-disabled, and in that pathway, we don't attach the provider. What happens within our build systems is we just see tons of these logs.
Curious about your thoughts -- thanks!
The text was updated successfully, but these errors were encountered: