mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-26 02:35:58 +08:00
fix: lint error and build error
This commit is contained in:
@@ -100,7 +100,6 @@ export const AppStateProvider = ({
|
||||
if (workspaceId === currentWorkspaceId) {
|
||||
return currentWorkspace;
|
||||
}
|
||||
|
||||
const workspace = await dataCenter.loadWorkspace(workspaceId);
|
||||
const currentMetaWorkSpace = dataCenter.workspaces.find(
|
||||
(item: WorkspaceUnit) => {
|
||||
|
||||
@@ -4,7 +4,6 @@ const DEFAULT_WORKSPACE_NAME = 'affine';
|
||||
|
||||
export const createDefaultWorkspace = async (dataCenter: DataCenter) => {
|
||||
return dataCenter.createWorkspace({
|
||||
avatar: 'test',
|
||||
name: DEFAULT_WORKSPACE_NAME,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user