Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore(env): fix lint error (#5240)

EYHN3e9f8e06befb
diff --git a/packages/common/env/src/workspace.ts b/packages/common/env/src/workspace.ts
index b92b8e3521..4ac9e7d4d3 100644
--- a/packages/common/env/src/workspace.ts
+++ b/packages/common/env/src/workspace.ts
@@ -109,7 +109,7 @@ export const settingPanel = {
Export: 'export',
Sync: 'sync',
} as const;
-export const settingPanelValues = [...Object.values(settingPanel)] as const;
+export const settingPanelValues = Object.values(settingPanel);
export type SettingPanel = (typeof settingPanel)[keyof typeof settingPanel];
// built-in workspaces