Update ChatView.tsx

This commit is contained in:
Matt Rubens 2025-02-28 17:17:19 -05:00 committed by GitHub
parent 2773208d06
commit 4570ead71f
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])