From a7b05e24fb0d03f9f59b4271e9d4a1815c7770d5 Mon Sep 17 00:00:00 2001 From: ramfox Date: Fri, 15 Nov 2019 11:18:37 -0500 Subject: [PATCH] fix(StatsChart): fix rename bugs --- app/components/DetailsBar.tsx | 4 ++-- app/components/StatsChart.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/DetailsBar.tsx b/app/components/DetailsBar.tsx index cf29bd05..c66e4e74 100644 --- a/app/components/DetailsBar.tsx +++ b/app/components/DetailsBar.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { Details, DetailsType, StatsDetails } from '../models/details' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faTimes } from '@fortawesome/free-solid-svg-icons' -import Stat from './stats/Stat' +import StatsChart from './StatsChart' export interface DetailsBarProps { details: Details @@ -19,7 +19,7 @@ const DetailsBar: React.FunctionComponent = (props) => { return (

{statsDetails.title}

- +
) } diff --git a/app/components/StatsChart.tsx b/app/components/StatsChart.tsx index 04fc4df8..59733a69 100644 --- a/app/components/StatsChart.tsx +++ b/app/components/StatsChart.tsx @@ -5,7 +5,7 @@ import * as React from 'react' const primaryStatColor = '#0061A6' interface StatsChartProps { - height: number + height?: number data: Record }