Skip to content

Instantly share code, notes, and snippets.

@chenkie
Last active May 27, 2020
Embed
What would you like to do?
...
return (
<Provider
value={{
authState,
setAuthState: authInfo => setAuthInfo(authInfo)
}}
>
{children}
</Provider>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment