chore: fix mobile toolbar conditional [skip e2e]

This commit is contained in:
Aman Harwara
2024-01-20 20:46:42 +05:30
parent 2d68fb7c7d
commit 814afc3e6d

View File

@@ -504,7 +504,7 @@ const ToolbarPlugin = () => {
const [isFocusInEditor, setIsFocusInEditor] = useState(false)
const [isFocusInToolbar, setIsFocusInToolbar] = useState(false)
const canShowToolbarOnMobile = true
const canShowToolbarOnMobile = isFocusInEditor || isFocusInToolbar
const canShowAllItems = isMobile || isToolbarFixedToTop
useEffect(() => {