fix for user stat dashboard

This commit is contained in:
keyan 2023-05-21 12:08:41 -05:00
parent a4e6ec0fba
commit 244cff14b0
1 changed files with 3 additions and 3 deletions

View File

@ -59,13 +59,13 @@ export default function Growth ({
}) {
const router = useRouter()
const { when } = router.query
const avg = ['month', 'year', 'forever'].includes(when) ? 'avg daily' : ''
const avg = ['year', 'forever'].includes(when) ? 'avg daily ' : ''
return (
<Layout>
<UsageHeader />
<Row>
<Col className='mt-3'>
<div className='text-center text-muted font-weight-bold'>{avg} stackers</div>
<div className='text-center text-muted font-weight-bold'>{avg}stackers</div>
<WhenLineChart data={stackerGrowth} />
</Col>
<Col className='mt-3'>
@ -75,7 +75,7 @@ export default function Growth ({
</Row>
<Row>
<Col className='mt-3'>
<div className='text-center text-muted font-weight-bold'>{avg} spenders</div>
<div className='text-center text-muted font-weight-bold'>{avg}spenders</div>
<WhenLineChart data={spenderGrowth} />
</Col>
<Col className='mt-3'>