display menu bugfix

This commit is contained in:
Nalvazhuthi
2025-04-04 17:47:15 +05:30
parent 60b778ff3d
commit 46d4308f9a
5 changed files with 472 additions and 355 deletions

View File

@@ -96,3 +96,14 @@ export const useRightSelected = create<RightSelectStore>((set) => ({
rightSelect: null, // Default state is null
setRightSelect: (x) => set({ rightSelect: x }),
}));
interface EditWidgetOptionsStore {
editWidgetOptions: boolean;
setEditWidgetOptions: (value: boolean) => void;
}
export const useEditWidgetOptionsStore = create<EditWidgetOptionsStore>((set) => ({
editWidgetOptions: false, // Initial state
setEditWidgetOptions: (value: boolean) => set({ editWidgetOptions: value }),
}));