MCPcopy
hub / github.com/fccview/jotty / useAppMode

Function useAppMode

app/_providers/AppModeProvider.tsx:209–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207};
208
209export const useAppMode = () => {
210 const context = useContext(AppModeContext);
211 if (context === undefined) {
212 throw new Error("useAppMode must be used within an AppModeProvider");
213 }
214 return context;
215};

Callers 15

UserInfoPageFunction · 0.90
SetupFormFunction · 0.90
SsoOnlyLoginFunction · 0.90
ShortcutProviderFunction · 0.90
ThemeProviderFunction · 0.90
WebSocketProviderFunction · 0.90
KonamiProviderFunction · 0.90
PermissionsProviderFunction · 0.90
SsoOnlyLoginFunction · 0.90
LoginFormFunction · 0.90
ConnectionIndicatorFunction · 0.90
SessionCardFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected