🚀 Auto-deploy: BrainWind atualizado em 12/07/2026 16:37:46
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { create } from 'zustand';
|
||||
|
||||
interface ViewerState {
|
||||
isLocked: boolean;
|
||||
toggleLock: () => void;
|
||||
}
|
||||
|
||||
export const useViewerStore = create<ViewerState>((set) => ({
|
||||
isLocked: false,
|
||||
toggleLock: () => set((state) => ({ isLocked: !state.isLocked })),
|
||||
}));
|
||||
Reference in New Issue
Block a user