MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / fn

Function fn

frontend/src/hooks/useScreen.ts:8–8  ·  view source on GitHub ↗
(e: MediaQueryListEvent)

Source from the content-addressed store, hash-verified

6 const mediaQuery = window.matchMedia("(max-width: 992px)");
7
8 const fn = (e: MediaQueryListEvent) => (isPhone.value = e.matches);
9
10 onMounted(() => {
11 isPhone.value = mediaQuery.matches;

Callers 4

handleKeydownFunction · 0.85
execWithMutexFunction · 0.85
execWithMutexIdFunction · 0.85
navigationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected