Fix voice note drafts when switching chats

This commit is contained in:
ayumi-signal 2024-06-18 12:53:14 -07:00 committed by GitHub
parent a25c2036b5
commit 11b2563a3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 39 additions and 42 deletions

View file

@ -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')}
/>