front/dev
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
parent 6f7b821c8b
commit 3a5b0bdcbc
162 changed files with 15801 additions and 224 deletions

View file

@ -0,0 +1,11 @@
import {create} from 'zustand';
interface FlowState {
isPanDisabled: boolean;
toggleEditingMode: () => void;
}
export const usePannableStore = create<FlowState>((set) => ({
isPanDisabled: false,
toggleEditingMode: () => set((state) => ({ isPanDisabled: !state.isPanDisabled })),
}));