MCPcopy Create free account
hub / github.com/chokcoco/iCSS / useApp

Function useApp

website/app/contexts/AppContext.tsx:70–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70export function useApp() {
71 const context = useContext(AppContext);
72 if (context === undefined) {
73 throw new Error('useApp must be used within an AppProvider');
74 }
75 return context;
76}

Callers 5

HomePageFunction · 0.90
LanguageToggleFunction · 0.90
ThemeToggleFunction · 0.90
TestThemeLangPageFunction · 0.90
ArticleDetailPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected