diff --git a/app/src/components/Sidebar/CodeDiff/Gutters.tsx b/app/src/components/Sidebar/CodeDiff/Gutters.tsx index 7fd7e35..c4c3e24 100644 --- a/app/src/components/Sidebar/CodeDiff/Gutters.tsx +++ b/app/src/components/Sidebar/CodeDiff/Gutters.tsx @@ -35,9 +35,6 @@ const style = (theme: Theme) => { backgroundColor: theme.palette.primary.main, }, }, - hover: { - - }, } } @@ -68,7 +65,7 @@ function tokensForLine(change: diff.Change, line: number, props: Props) { const { classes, literalPositions } = props const literal = literalPositions[line] - const diagram = literal ? : null + const diagram = literal ? : null if (change.added) { return [diagram, ] diff --git a/app/src/components/Sidebar/CodeDiff/index.tsx b/app/src/components/Sidebar/CodeDiff/index.tsx index d2c2495..20c7c06 100644 --- a/app/src/components/Sidebar/CodeDiff/index.tsx +++ b/app/src/components/Sidebar/CodeDiff/index.tsx @@ -99,7 +99,7 @@ class CodeDiff extends React.Component { diff --git a/app/src/components/Sidebar/CodeDiff/util.tsx b/app/src/components/Sidebar/CodeDiff/util.tsx index 83b8892..89eb453 100644 --- a/app/src/components/Sidebar/CodeDiff/util.tsx +++ b/app/src/components/Sidebar/CodeDiff/util.tsx @@ -45,7 +45,7 @@ export function toPlottableValue(value: any): number | undefined { return floatVal } - const intVal = parseInt(value) + const intVal = parseInt(value, undefined) if (isNumber && !isNaN(intVal)) { return intVal }