MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / useDrawerStack

Function useDrawerStack

apps/web/src/components/drawer/DrawerStack.tsx:83–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 const makeKey = () => `drawer-${++keyCounter}`;
82
83 const Ctx = createContext<DrawerStackApi<T> | null>(null);
84
85 function useDrawerStack(): DrawerStackApi<T> {
86 const ctx = useContext(Ctx);
87 if (!ctx) throw new Error('useDrawerStack must be used within DrawerStackProvider');
88 return ctx;
89 }
90

Callers 15

useGastownUiContextFunction · 0.90
TerminalBarFunction · 0.90
TownOverviewPageClientFunction · 0.90
RigDetailPageClientFunction · 0.90
ConvoyActivityGroupCardFunction · 0.90
TimelineEntryFunction · 0.90
ConvoyGroupCardFunction · 0.90
AttentionItemRowFunction · 0.90
AgentsPageClientFunction · 0.90
BeadsPageClientFunction · 0.90
IncomingTabFunction · 0.85
ForkClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected