Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2
import
{ userAtom } from
'../atoms/user'
;
3
4
export
const
useUser = () => {
5
const
value = useRecoilValue(userAtom);
6
return
value;
7
};
Callers
4
SideNav
Function · 0.90
UserAvatar
Function · 0.90
Game
Function · 0.90
useSocket
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected