fix: adjust placeholder
This commit is contained in:
parent
837ac2d5c3
commit
94e6f12924
1 changed files with 4 additions and 3 deletions
|
|
@ -68,14 +68,15 @@ const UserInput: React.FC<UserInputProps> = ({
|
||||||
});
|
});
|
||||||
|
|
||||||
const renderInputText = () => {
|
const renderInputText = () => {
|
||||||
|
const placeholderText = "Ask anything, @ for context, / for slash commands";
|
||||||
if (inputText.length === 0) {
|
if (inputText.length === 0) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{inputMode && !isWaitingForResponse && (
|
{inputMode && !isWaitingForResponse && (
|
||||||
<Text color="gray">▋Type your message...</Text>
|
<Text color="gray">▋{placeholderText}</Text>
|
||||||
)}
|
)}
|
||||||
{(!inputMode || isWaitingForResponse) && (
|
{(!inputMode || isWaitingForResponse) && (
|
||||||
<Text color="gray">Type your message...</Text>
|
<Text color="gray">{placeholderText}</Text>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue