how to destructure this?
omgzsa opened this issue · 0 comments
omgzsa commented
const { fetchUser, setUser } = useDirectusAuth();
How can you destructure these functions if its not in the documentation?
login, logout, createUser, requestPasswordReset, resetPassword, inviteUser, acceptInvite
. These are the only functions that are listed in the documentation.