fix: move workspace to top level (#2717)

This commit is contained in:
Himself65
2023-06-07 23:20:35 +08:00
committed by GitHub
parent 7f2006488e
commit 4958d096b0
88 changed files with 353 additions and 329 deletions

View File

@@ -1,10 +1,9 @@
import type { WorkspaceFlavour } from '@affine/env/workspace';
import type { EditorContainer } from '@blocksuite/editor';
import { atom, createStore } from 'jotai';
import { atomWithStorage, createJSONStorage } from 'jotai/utils';
import Router from 'next/router';
import type { WorkspaceFlavour } from './type';
export type RootWorkspaceMetadata = {
id: string;
flavour: WorkspaceFlavour;