refactor: clean up event methods

Signed-off-by: Sebastian <krupinski01@gmail.com>
This commit is contained in:
2026-05-17 17:52:16 -04:00
parent 7853a21288
commit 5a58c3c7ac
5 changed files with 160 additions and 210 deletions
-2
View File
@@ -26,7 +26,6 @@ const props = defineProps<Props>()
// Emits
const emit = defineEmits<{
close: []
sent: []
}>()
const mailStore = useMailStore()
@@ -222,7 +221,6 @@ const handleSend = async () => {
text: editor.value?.getText() || '',
},
})
emit('sent')
} catch (error) {
console.error('[Mail][Composer] Failed to send message:', error)
}