diff --git a/hooks/useUser.js b/hooks/useUser.js index 2bc81569..014896ac 100644 --- a/hooks/useUser.js +++ b/hooks/useUser.js @@ -118,4 +118,8 @@ export const UserProvider = ({ children }) => { ) } +const useUser = () => { + return useContext(UserContext) +} + export default useUser