MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / useUserChanged

Function useUserChanged

apps/webapp/app/hooks/useUser.ts:26–28  ·  view source on GitHub ↗
(callback: (user: User | undefined) => void)

Source from the content-addressed store, hash-verified

24}
25
26export function useUserChanged(callback: (user: User | undefined) => void) {
27 useChanged(useOptionalUser, callback);
28}
29
30export function useHasAdminAccess(matches?: UIMatch[]): boolean {
31 const user = useOptionalUser(matches);

Callers 2

usePostHogFunction · 0.90
useHighlightFunction · 0.90

Calls 1

useChangedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…