Fix dependency of useEffect in BetsList
This commit is contained in:
parent
b236ebdbd9
commit
077b211f22
|
@ -82,7 +82,7 @@ export function BetsList(props: { user: User; hideBetsBefore?: number }) {
|
||||||
disposed = true
|
disposed = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [allBets])
|
}, [bets])
|
||||||
|
|
||||||
const getTime = useTimeSinceFirstRender()
|
const getTime = useTimeSinceFirstRender()
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user