FrederickSundeep commited on
Commit
9ea3b5e
·
1 Parent(s): c70ad0c

commit 021111112

Browse files
Files changed (1) hide show
  1. src/components/ChatInput.jsx +2 -2
src/components/ChatInput.jsx CHANGED
@@ -14,8 +14,8 @@ export default function ChatInput({ onSend, fileUploaded }) {
14
  }, [fileUploaded]);
15
 
16
  // Disable input if no file uploaded
17
- const isInputDisabled = !fileUploaded;
18
- const isButtonDisabled = !fileUploaded || !input.trim();
19
  return (
20
  <div className="chat-input">
21
  <input
 
14
  }, [fileUploaded]);
15
 
16
  // Disable input if no file uploaded
17
+ const isInputDisabled = fileUploaded;
18
+ const isButtonDisabled = fileUploaded || !input.trim();
19
  return (
20
  <div className="chat-input">
21
  <input