File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -220,17 +220,15 @@ export default function MessageInput({
220220 value = { message }
221221 onChange = { ( e ) => setMessage ( e . target . value ) }
222222 onKeyDown = { handleKeyDown }
223- placeholder = {
224- disabled ? "Server offline..." : "Type a message..."
225- }
223+ placeholder = { "Type a message..." }
226224 className = "flex-1 resize-none border rounded-l-lg p-2 focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-900 bg-white"
227225 rows = { 2 }
228226 disabled = { disabled }
229227 />
230228 < button
231229 type = "submit"
232230 disabled = { disabled || ! message . trim ( ) }
233- className = "bg-blue -500 text-white px-4 rounded-r-lg font-medium disabled:opacity-50 disabled:cursor-not-allowed"
231+ className = "bg-green -500 text-white px-4 rounded-r-lg font-medium disabled:opacity-50 disabled:cursor-not-allowed"
234232 >
235233 Send
236234 </ button >
You can’t perform that action at this time.
0 commit comments