MCPcopy Create free account
hub / github.com/winfunc/opcode / useTabContext

Function useTabContext

src/contexts/TabContext.tsx:251–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249};
250
251export const useTabContext = () => {
252 const context = useContext(TabContext);
253 if (!context) {
254 throw new Error('useTabContext must be used within a TabProvider');
255 }
256 return context;
257};

Callers 2

TabManagerFunction · 0.90
useTabStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected