mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
refactor(core): move mobile components to core (#8258)
This commit is contained in:
@@ -4,8 +4,8 @@ import { AIProvider } from '@affine/core/blocksuite/presets/ai';
|
||||
import { AffineErrorBoundary } from '@affine/core/components/affine/affine-error-boundary';
|
||||
import { BlockSuiteEditor } from '@affine/core/components/blocksuite/block-suite-editor';
|
||||
import { EditorOutlineViewer } from '@affine/core/components/blocksuite/outline-viewer';
|
||||
import { PageNotFound } from '@affine/core/desktop/pages/404';
|
||||
import { EditorService } from '@affine/core/modules/editor';
|
||||
import { PageNotFound } from '@affine/core/pages/404';
|
||||
import { DebugLogger } from '@affine/debug';
|
||||
import {
|
||||
type DocMode,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ResizePanel } from '@affine/component/resize-panel';
|
||||
import { rightSidebarWidthAtom } from '@affine/core/components/atoms';
|
||||
import { workspaceRoutes } from '@affine/core/workspace-router';
|
||||
import { workbenchRoutes } from '@affine/core/desktop/workbench-router';
|
||||
import {
|
||||
appSettingAtom,
|
||||
FrameworkScope,
|
||||
@@ -29,7 +29,7 @@ const useAdapter = BUILD_CONFIG.isElectron
|
||||
const routes: RouteObject[] = [
|
||||
{
|
||||
element: <RouteContainer />,
|
||||
children: workspaceRoutes,
|
||||
children: workbenchRoutes,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user