mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
refactor: migrate environment to BUILD_CONFIG (#8206)
This commit is contained in:
3
packages/common/env/src/constant.ts
vendored
3
packages/common/env/src/constant.ts
vendored
@@ -10,9 +10,6 @@ declare global {
|
||||
};
|
||||
}
|
||||
|
||||
//#region runtime variables
|
||||
export const isElectron = !!globalThis.__appInfo?.electron;
|
||||
//#endregion
|
||||
export const DEFAULT_WORKSPACE_NAME = 'Demo Workspace';
|
||||
export const UNTITLED_WORKSPACE_NAME = 'Untitled';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user