Change analytics to 90 days. Default to DAU / MAU chart instead of DAU / WAU.
This commit is contained in:
parent
2f6a3c4e00
commit
ab4dbc798c
|
@ -18,7 +18,7 @@ import { getDailyNewUsers } from '../lib/firebase/users'
|
|||
|
||||
export const getStaticProps = fromPropz(getStaticPropz)
|
||||
export async function getStaticPropz() {
|
||||
const numberOfDays = 80
|
||||
const numberOfDays = 90
|
||||
const today = dayjs(dayjs().format('YYYY-MM-DD'))
|
||||
const startDate = today.subtract(numberOfDays, 'day')
|
||||
|
||||
|
@ -367,7 +367,7 @@ export function CustomAnalytics(props: {
|
|||
|
||||
<Title text="Ratio of Active Users" />
|
||||
<Tabs
|
||||
defaultIndex={0}
|
||||
defaultIndex={1}
|
||||
tabs={[
|
||||
{
|
||||
title: 'Daily / Weekly',
|
||||
|
|
Loading…
Reference in New Issue
Block a user