mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
refactor: migrate environment to BUILD_CONFIG (#8206)
This commit is contained in:
@@ -30,7 +30,7 @@ export const SafeArea = forwardRef<HTMLDivElement, SafeAreaProps>(
|
||||
<div
|
||||
ref={ref}
|
||||
className={clsx(safeArea, className)}
|
||||
data-standalone={environment.isStandalone ? '' : undefined}
|
||||
data-standalone={environment.isPwa ? '' : undefined}
|
||||
data-bottom={bottom ? '' : undefined}
|
||||
data-top={top ? '' : undefined}
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user