wip - trigger recheck when past time

This commit is contained in:
Ian Philips 2022-05-27 07:55:24 -06:00
parent 722ae1017f
commit df4a833b4c

View File

@ -61,6 +61,7 @@ export const useHasCreatedContractToday = (user: User | null | undefined) => {
const interval = setInterval(() => {
if (nextUtcResetTime < Date.now()) {
listUserContractsForToday()
return
}
}, 1000)
listUserContractsForToday()