Skip to content

Commit 44dee31

Browse files
committed
fix: correct local run description
1 parent 3b640c6 commit 44dee31

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

extensions/ql-vscode/src/view/common/ComparePerformanceLocalRunDescription.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ export const ComparePerformanceLocalRunDescription = ({
1010
}: Props) => {
1111
return (
1212
<div>
13-
(fromQuery?
14-
<strong>
15-
Comparison of local runs of {fromQuery} and {toQuery}
16-
</strong>
17-
: Local run of {toQuery})
13+
{fromQuery ? (
14+
<strong>
15+
Comparison of local runs of {fromQuery} and {toQuery}
16+
</strong>
17+
) : (
18+
<strong>Local run of {toQuery}</strong>
19+
)}
1820
</div>
1921
);
2022
};

0 commit comments

Comments
 (0)