Skip to content

Commit

Permalink
handle ts type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mrahanjam committed May 6, 2022
1 parent 9f56c10 commit 42549db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ export function ActiveConnectionTab({ connector, onConnectorSelection, search, o
<ListItem
divider
disableGutters
button={!hasOlderVersion}
button={!hasOlderVersion as any}
className={classes.tableRow}
onClick={(event) => {
onClick={(event: any) => {
if (event.target.dataset.cell !== 'version-toggle') {
onConnectorSelection(conn);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { getAlgorithmLabel } from 'components/Experiments/store/SharedActionCrea
import EmptyMetricMessage from 'components/Experiments/DetailedView/ExperimentMetricsDropdown/EmptyMetricMessage';

const HEIGHT_OF_PIE_CHART = 190;
const colorScale = d3Lib.scaleOrdinal(d3Lib.schemeCategory20);
const colorScale = d3Lib.scaleOrdinal(d3Lib.schemeAccent);
const AlgorithmDistribution = ({ algorithms }) => {
if (!algorithms.length) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const tableHeaders = [
},
];

const colorScale = d3Lib.scaleOrdinal(d3Lib.schemeCategory20);
const colorScale = d3Lib.scaleOrdinal(d3Lib.schemeAccent);
const PLUSBUTTONCONTEXTMENUITEMS = [
{
label: T.translate(`${PREFIX}.createNew`),
Expand Down

0 comments on commit 42549db

Please sign in to comment.