import { UserContext } from "./internal.mjs";
import { useContext } from "react";
//#region src/utilities/auth/useUser.ts
/**
* Get the current User object (or null if not logged in)
*
* Does not redirect to login
* @see {@link useAuthedUser}
*/
function useUser() {
	return useContext(UserContext);
}
//#endregion
export { useUser };

//# sourceMappingURL=useUser.mjs.map