Skip to content

Commit

Permalink
fix(StatsChart): fix rename bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ramfox committed Nov 15, 2019
1 parent 4d2bc8b commit a7b05e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/DetailsBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,7 +19,7 @@ const DetailsBar: React.FunctionComponent<DetailsBarProps> = (props) => {
return (
<div>
<h4>{statsDetails.title}</h4>
<Stat data={details.stats} />
<StatsChart data={statsDetails.stats} />
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/StatsChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as React from 'react'
const primaryStatColor = '#0061A6'

interface StatsChartProps {
height: number
height?: number
data: Record<string, any>
}

Expand Down

0 comments on commit a7b05e2

Please sign in to comment.