a tool for shared writing and social publishing
at cdd3b7bae5d4df3ec0dd7ff9ea8031fac3b40bc2 8 lines 189 B view raw
1import { create } from "zustand"; 2 3export let usePollBlockUIState = create( 4 () => 5 ({}) as { 6 [entity: string]: { state: "editing" | "voting" | "results" } | undefined; 7 }, 8);