Skip to content

Commit

Permalink
Update message input placeholders to specify friend ID and username
Browse files Browse the repository at this point in the history
  • Loading branch information
birongliu committed Nov 21, 2024
1 parent 828ceb8 commit ce3244f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/(users)/chat/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default function ChatMessage() {
<textarea
role="dialog"
className="w-full h-12 resize-none p-2 rounded-xl border-2 outline-none focus:ring-2 focus:ring-light-rose"
placeholder="Type your message"
placeholder="Type your friend id"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/ui/chat/AddTalk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function AddMessagePopup({ username }: { username: string }) {
id="message"
value={id}
onChange={(e) => setId(e.target.value)}
placeholder="Type your message here."
placeholder="Type your friend username."
className="w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:border-blue-500"
required
/>
Expand Down

0 comments on commit ce3244f

Please sign in to comment.