We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38976e9 commit 60216f9Copy full SHA for 60216f9
extensions/ql-vscode/src/view/compare-performance/ComparePerformance.tsx
@@ -356,7 +356,7 @@ function ComparePerformanceWithData(props: {
356
}) {
357
const { data } = props;
358
359
- const datasets = useMemo(
+ const { from, to } = useMemo(
360
() => ({
361
from: new ComparisonDataset(data.from),
362
to: new ComparisonDataset(data.to),
@@ -374,8 +374,6 @@ function ComparePerformanceWithData(props: {
374
375
const [metric, setMetric] = useState<Metric>(metrics.tuples);
376
377
- const { from, to } = datasets;
378
-
379
const nameSet = new Set(from.data.names);
380
for (const name of to.data.names) {
381
nameSet.add(name);
0 commit comments