add a user hook; stubbed out for OSS-side; clerked out for cloud-side (#2924)

This commit is contained in:
Jonathan Dobson
2025-07-10 12:36:28 -04:00
committed by GitHub
parent 9c1a858aac
commit b0e462a23b
4 changed files with 30 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
import { UserContext } from "@/store/UserContext";
import { useContext } from "react";
function useUser() {
const getUser = useContext(UserContext);
return { get: getUser };
}
export { useUser };