diff --git a/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx b/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx index 309f8a8d..aa3aa20f 100644 --- a/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx +++ b/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx @@ -138,14 +138,18 @@ export const InfoStandWidgetUserView: FC = props = { (userData.type !== RoomWidgetUpdateInfostandUserEvent.OWN_USER) && - { motto } } + + { motto } + } { userData.type === RoomWidgetUpdateInfostandUserEvent.OWN_USER && - { !isEditingMotto && - setIsEditingMotto(true) }>{ motto } } - { isEditingMotto && - setMotto(event.target.value) } onBlur={ onMottoBlur } onKeyDown={ onMottoKeyDown } autoFocus={ true } /> } + + { !isEditingMotto && + setIsEditingMotto(true) }>{ motto } } + { isEditingMotto && + setMotto(event.target.value) } onBlur={ onMottoBlur } onKeyDown={ onMottoKeyDown } autoFocus={ true } /> } + }