Skip to content

Commit 377c8ec

Browse files
committed
chat: update the message box placeholder
1 parent 43a0bcc commit 377c8ec

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

chat/src/components/MessageInput.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)