plane/apps/app/hooks/use-user.tsx
Aaryan Khandelwal 1026ae3eb1
chore: user auth layer (#749)
* chore: use estimate points hook created

* chore: user auth layer

* fix: build error
2023-04-08 18:05:54 +05:30

14 lines
244 B
TypeScript

import { useContext } from "react";
// context
import { UserContext } from "contexts/user.context";
const useUser = () => {
// context
const contextData = useContext(UserContext);
return { ...contextData };
};
export default useUser;