Timothy J. Baek 6 months ago
parent
commit
39bfc4c8e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/chat/MessageInput/VoiceRecording.svelte

+ 1 - 1
src/lib/components/chat/MessageInput/VoiceRecording.svelte

@@ -324,8 +324,8 @@
 
              rounded-full"
 			on:click={async () => {
-				dispatch('cancel');
 				stopRecording();
+				dispatch('cancel');
 			}}
 		>
 			<svg