mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-23 21:06:22 +08:00
refactor: migrate environment to BUILD_CONFIG (#8206)
This commit is contained in:
@@ -20,7 +20,7 @@ export const AffineOtherPageLayout = ({
|
||||
|
||||
return (
|
||||
<div className={styles.root}>
|
||||
{environment.isElectron ? (
|
||||
{BUILD_CONFIG.isElectron ? (
|
||||
<div className={styles.draggableHeader} />
|
||||
) : (
|
||||
<div className={styles.topNav}>
|
||||
|
||||
Reference in New Issue
Block a user