Change analytics to 90 days. Default to DAU / MAU chart instead of DAU / WAU.

This commit is contained in:
James Grugett 2022-05-02 18:18:40 -04:00
parent 2f6a3c4e00
commit ab4dbc798c

View File

@ -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',