Custom useAuth Hook doesnt work. (not a function)
Original message was deleted
Solution
const [auth, setAuth] = useAuth(); here you're trying to destructure an arrayconst [auth, setAuth] = useAuth();const [auth, setAuth] = useAuth(); here you're trying to destructure an array