diff options
author | Ty Dunn <ty@tydunn.com> | 2023-07-17 11:36:21 -0500 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-07-17 11:36:21 -0500 |
commit | e5b15e38982300dd555006c010bf3e887bf4bd7a (patch) | |
tree | 3a4a1b8e3f4f66eb9040c5b6a7b372acd3c4164a /extension/react-app/src/components/ComboBox.tsx | |
parent | 594f7ceb5cd32cb570ef54ec0addda3563ca435c (diff) | |
download | sncontinue-e5b15e38982300dd555006c010bf3e887bf4bd7a.tar.gz sncontinue-e5b15e38982300dd555006c010bf3e887bf4bd7a.tar.bz2 sncontinue-e5b15e38982300dd555006c010bf3e887bf4bd7a.zip |
align on `code section`
Diffstat (limited to 'extension/react-app/src/components/ComboBox.tsx')
-rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx index dbebd534..8136399a 100644 --- a/extension/react-app/src/components/ComboBox.tsx +++ b/extension/react-app/src/components/ComboBox.tsx @@ -245,11 +245,11 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { props.onToggleAddContext(); }} > - Highlight to Add Context + Highlight code section </EmptyPillDiv> ) : ( <HeaderButtonWithText - text="Add to Context" + text="Add more code to context" onClick={() => { props.onToggleAddContext(); }} @@ -261,7 +261,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { <div className="flex px-2" ref={divRef} hidden={!downshiftProps.isOpen}> <MainTextInput disabled={props.disabled} - placeholder={`Ask a question, give instructions, or type '/' to see slash commands. ${getMetaKeyLabel()}⏎ to edit.`} + placeholder={`Ask a question, give instructions, or type '/' to see slash commands`} {...getInputProps({ onChange: (e) => { const target = e.target as HTMLTextAreaElement; |