Skip to content

Commit

Permalink
fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorsten committed Dec 21, 2021
1 parent f00f850 commit 7a12814
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions frontend/ui/src/pages/Inbox/MessageInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ const MessageInput = (props: Props) => {
type="button"
styleVariant="outline-big"
onClick={toggleSuggestedReplies}
dataCy={cySuggestionsButton}>
dataCy={cySuggestionsButton}
>
<div className={styles.suggestionButton}>
Suggestions
<ChevronDownIcon className={hasSuggestions() ? styles.chevronUp : styles.chevronDown} />
Expand Down Expand Up @@ -456,7 +457,8 @@ const MessageInput = (props: Props) => {
}`}
onClick={sendMessage}
disabled={(input.trim().length == 0 && !canSendMessage()) || blockSpam}
data-cy={cyMessageSendButton}>
data-cy={cyMessageSendButton}
>
<div className={styles.sendButtonText}>
<Paperplane />
</div>
Expand All @@ -465,7 +467,8 @@ const MessageInput = (props: Props) => {
</form>
<div
className={styles.linebreakHint}
style={textAreaRef?.current?.value?.length > 0 ? {visibility: 'visible'} : {visibility: 'hidden'}}>
style={textAreaRef?.current?.value?.length > 0 ? {visibility: 'visible'} : {visibility: 'hidden'}}
>
{'Shift + Enter to add line'}
</div>
</div>
Expand Down

0 comments on commit 7a12814

Please sign in to comment.