summaryrefslogtreecommitdiff
path: root/extension/react-app
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-07-10 15:25:34 -0700
committerTy Dunn <ty@tydunn.com>2023-07-10 15:25:34 -0700
commit845e4678b29dacaf926717989117a7d26b53e6ab (patch)
tree90dcecd61c45dda478f9d8af701cd1df5e60b2f7 /extension/react-app
parent05f3a1f35f1d0f85df15ac78f2f285d54ab45118 (diff)
parentf407524e0985807a30e5b08d5e8754d24c7a1291 (diff)
downloadsncontinue-845e4678b29dacaf926717989117a7d26b53e6ab.tar.gz
sncontinue-845e4678b29dacaf926717989117a7d26b53e6ab.tar.bz2
sncontinue-845e4678b29dacaf926717989117a7d26b53e6ab.zip
Merge branch 'main' of github.com:continuedev/continue
Diffstat (limited to 'extension/react-app')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx6
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>