summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/ComboBox.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-04 13:43:09 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-04 13:43:09 -0700
commit67e70b868f63e20c2b0cae875993e267a5c32d5e (patch)
tree9a2d3f32029010d4c4f6a486aa1d9c508ee4bc1a /extension/react-app/src/components/ComboBox.tsx
parent6d535c02e50bcf0ff80b5c615e4afb01bb36b631 (diff)
downloadsncontinue-67e70b868f63e20c2b0cae875993e267a5c32d5e.tar.gz
sncontinue-67e70b868f63e20c2b0cae875993e267a5c32d5e.tar.bz2
sncontinue-67e70b868f63e20c2b0cae875993e267a5c32d5e.zip
many fixes
Diffstat (limited to 'extension/react-app/src/components/ComboBox.tsx')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx10
1 files changed, 3 insertions, 7 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index bdb8850d..3e1f3e16 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -279,13 +279,9 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
)}
{highlightedCodeSections.map((section, idx) => (
<PillButton
- title={
- hoveringButton
- ? `${section.filepath} (${section.range.start.line + 1}-${
- section.range.end.line + 1
- })`
- : section.filepath
- }
+ title={`${section.filepath} (${section.range.start.line + 1}-${
+ section.range.end.line + 1
+ })`}
onDelete={() => {
if (props.deleteContextItems) {
props.deleteContextItems([idx]);