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 think we could throw an error in useAgent if it is not available yet? Or we make sure you can pass a uninitalized agent to the agent provider so the value is at least defined
The text was updated successfully, but these errors were encountered:
It makes for a (IMO) very cluncky API. E.g the following code
could be reduced to the following
if agent was always of type
Agent
.I think we could throw an error in
useAgent
if it is not available yet? Or we make sure you can pass a uninitalized agent to the agent provider so the value is at least definedThe text was updated successfully, but these errors were encountered: