Update packages/ui-next/src/components/message/MessageInput.svelte

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristina <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2025-05-19 07:53:55 +04:00 committed by GitHub
parent a9c2cc25e6
commit a14466982c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -258,7 +258,7 @@
if (message.files.some((it) => !files.some((f) => f.blobId === it.blobId))) return true
if (newMarkup === undefined || content === undefined) return false
return !areEqualMarkups(content, newMarkup ?? '')
return !areEqualMarkups(content, newMarkup ?? Markup.EmptyMarkup)
}
</script>