forked from github/plane
1026ae3eb1
* chore: use estimate points hook created * chore: user auth layer * fix: build error
14 lines
244 B
TypeScript
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;
|