Fix capitalization

This commit is contained in:
Austin Chen 2022-09-15 13:45:49 -07:00
parent 8c6a40bab7
commit 1476f669d3

View File

@ -14,6 +14,7 @@ import { Linkify } from 'web/components/linkify'
import { getStats } from 'web/lib/firebase/stats'
import { Stats } from 'common/stats'
import { PAST_BETS } from 'common/user'
import { capitalize } from 'lodash'
export default function Analytics() {
const [stats, setStats] = useState<Stats | undefined>(undefined)
@ -157,7 +158,7 @@ export function CustomAnalytics(props: {
defaultIndex={0}
tabs={[
{
title: PAST_BETS,
title: capitalize(PAST_BETS),
content: (
<DailyCountChart
dailyCounts={dailyBetCounts}