Skip to content

Commit 83f5030

Browse files
committed
Update the PromptField error message to instruct placing the cursor in a file
1 parent 26c7757 commit 83f5030

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎packages/ui/src/components/editor/panel/PromptField/PromptField.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,7 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
322322
{props.prompt_type == 'code-at-cursor' &&
323323
!props.currently_open_file_path && (
324324
<div className={styles.error}>
325-
<div className={styles.error__inner}>
326-
Place cursor for completion
327-
</div>
325+
<div className={styles.error__inner}>Place cursor in a file</div>
328326
</div>
329327
)}
330328

0 commit comments

Comments
 (0)