wip - trigger recheck when past time
This commit is contained in:
parent
722ae1017f
commit
df4a833b4c
|
@ -61,6 +61,7 @@ export const useHasCreatedContractToday = (user: User | null | undefined) => {
|
|||
const interval = setInterval(() => {
|
||||
if (nextUtcResetTime < Date.now()) {
|
||||
listUserContractsForToday()
|
||||
return
|
||||
}
|
||||
}, 1000)
|
||||
listUserContractsForToday()
|
||||
|
|
Loading…
Reference in New Issue
Block a user