feat: add n18n

This commit is contained in:
qixinbo
2026-03-21 21:26:57 +08:00
parent 40f84fc98e
commit 5ab9884bf6
22 changed files with 823 additions and 273 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ function saveChartsToStorage(charts: ChartConfig[], projectId: number) {
window.localStorage.setItem(getStorageKey(projectId), JSON.stringify(charts));
}
export const useDashboardStore = create<DashboardState>((set, get) => ({
export const useDashboardStore = create<DashboardState>((set) => ({
charts: [],
loadCharts: (projectId) => {
set({ charts: loadChartsFromStorage(projectId) });