diff options
author | Ty Dunn <ty@tydunn.com> | 2023-07-10 15:25:34 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-07-10 15:25:34 -0700 |
commit | 9946701af5b551bc0e9caae57cb8119edad7a44e (patch) | |
tree | 38b9846a9eb78beb755ecc5408262cfe982f3f7a /extension/react-app | |
parent | b9525d5f0851d13b3d4936868f064810f3376dbd (diff) | |
parent | 20f4d07eb1d584569752e67c754951b7892e3e6b (diff) | |
download | sncontinue-9946701af5b551bc0e9caae57cb8119edad7a44e.tar.gz sncontinue-9946701af5b551bc0e9caae57cb8119edad7a44e.tar.bz2 sncontinue-9946701af5b551bc0e9caae57cb8119edad7a44e.zip |
Merge branch 'main' of github.com:continuedev/continue
Diffstat (limited to 'extension/react-app')
-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 e6632360..801c3a03 100644 --- a/extension/react-app/src/components/ComboBox.tsx +++ b/extension/react-app/src/components/ComboBox.tsx @@ -224,8 +224,8 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { editing={section.editing} pinned={section.pinned} index={idx} - key={`${section.filepath}${idx}`} - title={`${section.range.filepath} (${ + key={`${section.display_name}${idx}`} + title={`${section.display_name} (${ section.range.range.start.line + 1 }-${section.range.range.end.line + 1})`} onDelete={() => { @@ -372,7 +372,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { > {highlightedCodeSections.map((section, idx) => ( <> - <p>{section.range.filepath}</p> + <p>{section.display_name}</p> <CodeBlock showCopy={false} key={idx}> {section.range.contents} </CodeBlock> |