Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Peppermint-Lab/peppermint
/ useUser
Function
useUser
apps/client/store/session.js:62–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
};
61
62
export
const
useUser = () => {
63
const
context = useContext(UserContext);
64
if
(!context) {
65
throw
new
Error(
"useUser must be used within a UserProvider"
);
66
}
67
return
context;
68
};
Callers
15
AccountDropdown
Function · 0.90
Ticket
Function · 0.90
ThemeSettings
Function · 0.90
NotebookEditor
Function · 0.90
CreateTicketModal
Function · 0.90
AdminLayout
Function · 0.90
ShadLayout
Function · 0.90
NewLayout
Function · 0.90
PortalLayout
Function · 0.90
Home
Function · 0.90
Tickets
Function · 0.90
CreateTicket
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected