You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
It may be something that I do wrong, but if I assign onExpire prop to an async function that handles an API request and receives a response containing a new timestamp that will be passed to the restart function, when the timer expires, the function in called multiple times.
here is a sandbox example https://codesandbox.io/s/cool-wildflower-9v3ft?file=/src/App.js
The text was updated successfully, but these errors were encountered:
Hi,
It may be something that I do wrong, but if I assign
onExpire
prop to an async function that handles an API request and receives a response containing a new timestamp that will be passed to therestart
function, when the timer expires, the function in called multiple times.here is a sandbox example https://codesandbox.io/s/cool-wildflower-9v3ft?file=/src/App.js
The text was updated successfully, but these errors were encountered: