From 810ae101ed1fa911e222bb6bdb4843c21f60cf28 Mon Sep 17 00:00:00 2001 From: Brian Cao Date: Fri, 22 Jul 2022 17:24:45 -0700 Subject: [PATCH] fix timer --- components/metrics/ActiveUsers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/metrics/ActiveUsers.js b/components/metrics/ActiveUsers.js index becef9fe..653fc783 100644 --- a/components/metrics/ActiveUsers.js +++ b/components/metrics/ActiveUsers.js @@ -5,7 +5,7 @@ import useFetch from 'hooks/useFetch'; import Dot from 'components/common/Dot'; import styles from './ActiveUsers.module.css'; -export default function ActiveUsers({ websiteId, className, value, interval = 60000000 }) { +export default function ActiveUsers({ websiteId, className, value, interval = 60000 }) { const url = websiteId ? `/website/${websiteId}/active` : null; const { data } = useFetch(url, { interval,