Allow edits which just remove the quote
This commit is contained in:
parent
96a2d05906
commit
855b1c03b0
8 changed files with 18 additions and 25 deletions
|
@ -30,9 +30,7 @@ const useProps = (overrideProps: Partial<Props> = {}): Props => {
|
|||
draftText: overrideProps.draftText ?? null,
|
||||
draftEditMessage: overrideProps.draftEditMessage ?? null,
|
||||
draftBodyRanges: overrideProps.draftBodyRanges || [],
|
||||
clearQuotedMessage: action('clearQuotedMessage'),
|
||||
getPreferredBadge: () => undefined,
|
||||
getQuotedMessage: action('getQuotedMessage'),
|
||||
isActive: true,
|
||||
isFormattingEnabled:
|
||||
overrideProps.isFormattingEnabled === false
|
||||
|
@ -45,6 +43,7 @@ const useProps = (overrideProps: Partial<Props> = {}): Props => {
|
|||
onSubmit: action('onSubmit'),
|
||||
onTextTooLong: action('onTextTooLong'),
|
||||
platform: 'darwin',
|
||||
quotedMessageId: null,
|
||||
sendCounter: 0,
|
||||
sortedGroupMembers: overrideProps.sortedGroupMembers ?? [],
|
||||
skinTone: overrideProps.skinTone ?? null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue