commit
This commit is contained in:
@@ -5,3 +5,7 @@ import { AuthenticationContext } from "../contexts";
|
||||
export function useAuth() {
|
||||
return React.useContext(AuthenticationContext);
|
||||
}
|
||||
|
||||
export function getAuth() {
|
||||
return React.useContext(AuthenticationContext).user;
|
||||
}
|
||||
|
Reference in New Issue
Block a user