Add React web scaffold

This commit is contained in:
Asep Haryana Saputra committed 2026-05-22 12:41:55 +00:00
1 parent 393779f81d
commit 62f45ed454
17 files changed
+452

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { create } from 'zustand';
type UiState = {
dashboardCompact: boolean;
toggleDashboardCompact: () => void;
};
export const useUiStore = create<UiState>((set) => ({
dashboardCompact: false,
toggleDashboardCompact: () =>
set((state) => ({ dashboardCompact: !state.dashboardCompact })),
}));