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({
220
220
value = { message }
221
221
onChange = { ( e ) => setMessage ( e . target . value ) }
222
222
onKeyDown = { handleKeyDown }
223
- placeholder = {
224
- disabled ? "Server offline..." : "Type a message..."
225
- }
223
+ placeholder = { "Type a message..." }
226
224
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"
227
225
rows = { 2 }
228
226
disabled = { disabled }
229
227
/>
230
228
< button
231
229
type = "submit"
232
230
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"
234
232
>
235
233
Send
236
234
</ button >
You can’t perform that action at this time.
0 commit comments