refac: channel message input

This commit is contained in:
Timothy Jaeryang Baek
2024-12-31 19:42:49 -08:00
parent 995f80002f
commit 60fc24cd39
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
};
const submitHandler = async ({ content, data }) => {
if (!content) {
if (!content && (data?.files ?? []).length === 0) {
return;
}