Skip to content

Commit

Permalink
feat: add v2 classes to send and cancel button of EditMessageForm (#1669
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MartinCupela authored Jul 13, 2022
1 parent a326ef1 commit 120780b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/MessageInput/EditMessageForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,12 @@ export const EditMessageForm = <
)}
</div>
<div>
<button onClick={clearEditingState}>{t<string>('Cancel')}</button>
<button type='submit'>{t<string>('Send')}</button>
<button className='str-chat__edit-message-cancel' onClick={clearEditingState}>
{t<string>('Cancel')}
</button>
<button className='str-chat__edit-message-send' type='submit'>
{t<string>('Send')}
</button>
</div>
</div>
</form>
Expand Down

0 comments on commit 120780b

Please sign in to comment.