mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-09 02:53:45 +00:00
fix(core): add edit entry for mobile edition (#8173)
This commit is contained in:
@@ -206,7 +206,7 @@ export const PageHeaderMenuButton = ({
|
||||
setEditing(!isEditing);
|
||||
}, [isEditing, page.id, page.readonly, setDocReadonly]);
|
||||
|
||||
const isMobile = environment.isMobileEdition;
|
||||
const isMobile = environment.isMobile;
|
||||
const mobileEditMenuItem = (
|
||||
<MenuItem
|
||||
prefixIcon={isEditing ? <SaveIcon /> : <EditIcon />}
|
||||
|
||||
Reference in New Issue
Block a user