mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-02 00:35:25 +03:00
fix(core): add edit entry for mobile edition (#8173)
This commit is contained in:
parent
8e71815e46
commit
7c4eab6cd3
@ -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 />}
|
||||
|
Loading…
Reference in New Issue
Block a user