MCPcopy Index your code
hub / github.com/bytebase/bytebase / useAppStore

Function useAppStore

frontend/src/react/router/ProjectRouteGate.test.tsx:88–89  ·  view source on GitHub ↗
(selector?: (s: typeof state) => unknown)

Source from the content-addressed store, hash-verified

86 mocks.projectPermissions.has(permission),
87 };
88 const useAppStore = (selector?: (s: typeof state) => unknown) =>
89 selector ? selector(state) : state;
90 useAppStore.getState = () => state;
91 return {
92 useAppStore,

Callers 15

ProjectRouteGateFunction · 0.70
AuthGateFunction · 0.50
SplashLayoutFunction · 0.50
useAppDatabaseMetadataFunction · 0.50
useRecentVisitFunction · 0.50
useWorksheetAndTabFunction · 0.50
useDatabaseCatalogFunction · 0.50
useProjectByNameFunction · 0.50
useAppDatabaseFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected