Fix capitalization
This commit is contained in:
parent
8c6a40bab7
commit
1476f669d3
|
@ -14,6 +14,7 @@ import { Linkify } from 'web/components/linkify'
|
||||||
import { getStats } from 'web/lib/firebase/stats'
|
import { getStats } from 'web/lib/firebase/stats'
|
||||||
import { Stats } from 'common/stats'
|
import { Stats } from 'common/stats'
|
||||||
import { PAST_BETS } from 'common/user'
|
import { PAST_BETS } from 'common/user'
|
||||||
|
import { capitalize } from 'lodash'
|
||||||
|
|
||||||
export default function Analytics() {
|
export default function Analytics() {
|
||||||
const [stats, setStats] = useState<Stats | undefined>(undefined)
|
const [stats, setStats] = useState<Stats | undefined>(undefined)
|
||||||
|
@ -157,7 +158,7 @@ export function CustomAnalytics(props: {
|
||||||
defaultIndex={0}
|
defaultIndex={0}
|
||||||
tabs={[
|
tabs={[
|
||||||
{
|
{
|
||||||
title: PAST_BETS,
|
title: capitalize(PAST_BETS),
|
||||||
content: (
|
content: (
|
||||||
<DailyCountChart
|
<DailyCountChart
|
||||||
dailyCounts={dailyBetCounts}
|
dailyCounts={dailyBetCounts}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user