fix timer

This commit is contained in:
Brian Cao 2022-07-22 17:24:45 -07:00
parent f2d720680e
commit 810ae101ed

View File

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