Fix analytics
This commit is contained in:
parent
4396456ed1
commit
a275b3a9c2
|
@ -18,7 +18,7 @@ import { getDailyNewUsers } from 'web/lib/firebase/users'
|
|||
|
||||
export const getStaticProps = fromPropz(getStaticPropz)
|
||||
export async function getStaticPropz() {
|
||||
const numberOfDays = 10
|
||||
const numberOfDays = 45
|
||||
const tomorrow = dayjs(dayjs().format('YYYY-MM-DD'))
|
||||
.add(1, 'day')
|
||||
// Convert from UTC midnight to PT midnight.
|
||||
|
@ -148,7 +148,7 @@ export async function getStaticPropz() {
|
|||
|
||||
return {
|
||||
props: {
|
||||
startDate,
|
||||
startDate: startDate.valueOf(),
|
||||
dailyActiveUsers,
|
||||
weeklyActiveUsers,
|
||||
monthlyActiveUsers,
|
||||
|
|
Loading…
Reference in New Issue
Block a user