refactor(store): extract workspace out of AppState (#1037)

This commit is contained in:
Himself65 authored and GitHub committed 2023-02-16 11:41:43 +08:00
1 parent a4d0813354
commit cdc2b449a9
30 files changed
+323 -245

No files matched your search

+2 -1
View File
@@ -22,7 +22,8 @@ import Head from 'next/head';
import '@affine/i18n';
import { useTranslation } from '@affine/i18n';
import React from 'react';
import { DataCenterLoader, GlobalAppProvider } from '@/store/app';
import { GlobalAppProvider } from '@/store/app';
import { DataCenterLoader } from '@/store/app/datacenter';
const ThemeProvider = dynamic(() => import('@/providers/ThemeProvider'), {
ssr: false,