useAuthContext Hook
The authentication context containing user state and methods
A custom hook that provides access to the authentication context. It must be used within a component that is wrapped by the AuthProvider.
Error if used outside of an AuthProvider
useAuthContext Hook