Skip to content

Commit 0982ad1

Browse files
committed
fix(web): typescript error
1 parent 45a7ce4 commit 0982ad1

21 files changed

+4
-24
lines changed

webdriver-ts-results/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import "./App.css";
32
import { FrameworkType, knownIssues } from "./Common";
43
import ResultTable from "./components/ResultTable";

webdriver-ts-results/src/Common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ export class ResultTableData {
504504
}
505505
computeComparison(
506506
framework: Framework,
507-
benchmarksCPU: Array<Benchmark>, // Remove cause unused
507+
_benchmarksCPU: Array<Benchmark>, // Remove cause unused
508508
resultsCPUForFramework: Array<TableResultValueEntry | null>,
509509
): TableResultComparisonEntry {
510510
if (!this.compareWith) {

webdriver-ts-results/src/assets/icons/CopyIcon.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from "react";
2-
31
const CopyIcon = () => {
42
return (
53
<>

webdriver-ts-results/src/assets/icons/PasteIcon.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from "react";
2-
31
const PasteIcon = () => {
42
return (
53
<>

webdriver-ts-results/src/components/BoxPlotTable/BoxPlotTableChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useRef, useEffect } from "react";
1+
import { useRef, useEffect } from "react";
22
import Plotly from "plotly.js-cartesian-dist";
33

44
interface BoxPlotData {

webdriver-ts-results/src/components/BoxPlotTable/BoxPlotTableRows.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import { Benchmark, Framework, ResultLookup, CpuDurationMode } from "@/Common";
32
import BoxPlotTableRow from "./BoxPlotTableRow";
43

webdriver-ts-results/src/components/selection/BenchmarkSelector/BenchmarkSelectorCategory.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import { BenchmarkType } from "@/Common";
32
import { useRootStore } from "@/reducer";
43
import SelectorContentContainer from "@components/selection/SelectorContentContainer";

webdriver-ts-results/src/components/selection/BenchmarkSelector/BenchmarkSelectorList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import type { Benchmark } from "@/Common";
32

43
interface Props {

webdriver-ts-results/src/components/selection/BenchmarkSelector/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import { BenchmarkType } from "@/Common";
32
import Dropdown from "@components/ui/Dropdown";
43
import BenchmarkSelectorCategory from "./BenchmarkSelectorCategory";

webdriver-ts-results/src/components/selection/CopyPasteSelection.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import { useCallback } from "react";
32
import { useEffect } from "react";
43
import { useRootStore } from "@/reducer";

0 commit comments

Comments
 (0)