ReactifluxR
Reactiflux
18 replies

Custom useAuth Hook doesnt work. (not a function)

Original message was deleted
Solution
const [auth, setAuth] = useAuth();
here you're trying to destructure an array