diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index ff5a31e1..a56ded54 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -82,7 +82,8 @@ export function BetsList(props: { user: User; hideBetsBefore?: number }) { disposed = true } } - }, [allBets]) + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [allBets, hideBetsBefore]) const getTime = useTimeSinceFirstRender() useEffect(() => {