Merge pull request #1277 from RooVetGit/mrubens-patch-4

Update ChatView.tsx
This commit is contained in:
Matt Rubens 2025-03-01 07:25:10 -05:00 committed by GitHub
commit 2a7be4b0fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -880,7 +880,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
const placeholderText = useMemo(() => {
const baseText = task ? "Type a message..." : "Type your task here..."
const contextText = "(@ to add context, / to switch modes"
const imageText = shouldDisableImages ? "hold shift to drag in files" : ", hold shift to drag in files/images"
const imageText = shouldDisableImages ? ", hold shift to drag in files" : ", hold shift to drag in files/images"
return baseText + `\n${contextText}${imageText})`
}, [task, shouldDisableImages])