Fix voice note drafts when switching chats
This commit is contained in:
parent
a25c2036b5
commit
11b2563a3d
7 changed files with 39 additions and 42 deletions
|
@ -45,12 +45,12 @@ export function Default(): JSX.Element {
|
|||
{active && (
|
||||
<CompositionRecording
|
||||
i18n={i18n}
|
||||
conversationId="convo-id"
|
||||
onCancel={handleCancel}
|
||||
onSend={handleSend}
|
||||
errorRecording={_ => action('error')()}
|
||||
addAttachment={action('addAttachment')}
|
||||
completeRecording={action('completeRecording')}
|
||||
saveDraftRecordingIfNeeded={action('saveDraftRecordingIfNeeded')}
|
||||
showToast={action('showToast')}
|
||||
hideToast={action('hideToast')}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue