refac: channel message input

This commit is contained in:
Timothy Jaeryang Baek committed 2024-12-31 19:42:49 -08:00
1 parent 995f80002f
commit 60fc24cd39
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@
};
const submitHandler = async ({ content, data }) => {
if (!content) {
if (!content && (data?.files ?? []).length === 0) {
return;
}