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

Function useAppStore

frontend/src/react/components/MatchedDatabaseView.test.tsx:58–60  ·  view source on GitHub ↗
(
    selector: (state: ReturnType<typeof getState>) => T
  )

Source from the content-addressed store, hash-verified

56 getEnvironmentByName: mocks.getEnvironmentByName,
57 });
58 const useAppStore = <T,>(
59 selector: (state: ReturnType<typeof getState>) => T
60 ) => selector(getState());
61 useAppStore.getState = getState;
62 return { useAppStore };
63});

Callers 15

RoleSelectFunction · 0.70
FeatureAttentionFunction · 0.70
FeatureBadgeFunction · 0.70
UserSelectFunction · 0.70
ProjectRouteShellFunction · 0.70
usePermissionDataReadyFunction · 0.70
usePermissionAccessFunction · 0.70
PermissionDeniedFallbackFunction · 0.70
IssueTable.tsxFile · 0.70
IssueApprovalStatusTagFunction · 0.70
AuditLogViewCellFunction · 0.70

Calls 1

getStateFunction · 0.70

Tested by

no test coverage detected