Update MobileMenu.tsx

This commit is contained in:
zsviczian 2022-03-11 11:46:53 +01:00 committed by GitHub
parent d3857fbb35
commit 554985f749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ export const MobileMenu = ({
(appState.editingElement &&
!isTextElement(appState.editingElement)),
})}
>
>
<div
className="App-bottom-bar"
style={{
@ -206,9 +206,11 @@ export const MobileMenu = ({
)
.map(([clientId, client]) => (
<React.Fragment key={clientId}>
{actionManager.renderAction("goToCollaborator", {
id: clientId,
})}
{actionManager.renderAction(
"goToCollaborator", {
id: clientId,
}
)}
</React.Fragment>
))}
</UserList>
@ -220,7 +222,10 @@ export const MobileMenu = ({
) : appState.openMenu === "shape" &&
!viewModeEnabled &&
showSelectedShapeActions(appState, elements) ? (
<Section className="App-mobile-menu" heading="selectedShapeActions">
<Section
className="App-mobile-menu"
heading="selectedShapeActions"
>
<SelectedShapeActions
appState={appState}
elements={elements}