MCPcopy Create free account
hub / github.com/code100x/chess / useUser

Function useUser

packages/store/src/hooks/useUser.ts:4–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { userAtom } from '../atoms/user';
3
4export const useUser = () => {
5 const value = useRecoilValue(userAtom);
6 return value;
7};

Callers 4

SideNavFunction · 0.90
UserAvatarFunction · 0.90
GameFunction · 0.90
useSocketFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected