MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / onMouseAction

Function onMouseAction

apps/web/hooks/priority.ts:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 const [priority, setPriority] = useState(Priority.KEYBOARD);
6 useEffect(() => {
7 const onMouseAction = () => {
8 setPriority(Priority.MOUSE);
9 };
10 const onKeyboardAction = () => {
11 setPriority(Priority.KEYBOARD);
12 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected