MCPcopy Create free account
hub / github.com/code100x/chess / SidebarStore

Interface SidebarStore

apps/frontend/src/hooks/useSidebar.ts:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { create } from 'zustand';
2
3interface SidebarStore {
4 isOpen: boolean;
5 toggle: () => void;
6}
7
8export const useSidebar = create<SidebarStore>((set: any) => ({
9 isOpen: true,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected