diff --git a/src/components/room/widgets/chat-input/ChatInputView.tsx b/src/components/room/widgets/chat-input/ChatInputView.tsx index 9bf2759..475060e 100644 --- a/src/components/room/widgets/chat-input/ChatInputView.tsx +++ b/src/components/room/widgets/chat-input/ChatInputView.tsx @@ -332,12 +332,14 @@ export const ChatInputView: FC<{}> = props => onHover={ mention.setSelectedIndex } /> } -
- { !floodBlocked && - updateChatInput(event.target.value) } onMouseDown={ event => setInputFocus() } /> } - { floodBlocked && - { LocalizeText('chat.input.alert.flood', [ 'time' ], [ floodBlockedSeconds.toString() ]) } } -
+ { !floodBlocked && +
+ updateChatInput(event.target.value) } onMouseDown={ event => setInputFocus() } /> +
} + { floodBlocked && +
+ { LocalizeText('chat.input.alert.flood', [ 'time' ], [ floodBlockedSeconds.toString() ]) } +
} , document.getElementById('toolbar-chat-input-container')) );