260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
+4 -4
View File
@@ -6,16 +6,16 @@ interface UIState {
isSidebarOpen: boolean;
toggleSidebar: () => void;
closeSidebar: () => void; // ✅ เพิ่มกลับมา
openSidebar: () => void; // ✅ เพิ่มกลับมา
openSidebar: () => void; // ✅ เพิ่มกลับมา
}
export const useUIStore = create<UIState>()(
persist(
(set) => ({
isSidebarOpen: true,
toggleSidebar: () => set((state) => ({ isSidebarOpen: !state.isSidebarOpen })),
// ✅ เพิ่ม Implementation กลับมา
closeSidebar: () => set({ isSidebarOpen: false }),
openSidebar: () => set({ isSidebarOpen: true }),
@@ -24,4 +24,4 @@ export const useUIStore = create<UIState>()(
name: 'sidebar-state',
}
)
);
);