mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
fix timer
This commit is contained in:
parent
f2d720680e
commit
810ae101ed
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user