When I add "initialRemainingTime" this prop into CountdownCircleTimer, and refresh the page, it starts from "duration". But instead it hsould start from "initialRemainingTime"
Asiya1330 opened this issue · comments
Asiya1330 commented
When I add "initialRemainingTime" this prop into CountdownCircleTimer, and refresh the page, it starts from "duration".
But instead it should start from "initialRemainingTime".
Thanks for any help.
Basically, I am working on real time session.
So when user refresh, it should start from time remaining from session to end.
Vasil Dimitrov commented
It seems it works, https://codesandbox.io/p/sandbox/late-tree-hqqvh4?file=%2Fsrc%2Findex.js%3A25%2C29, here it starts from 4 seconds.
Vasil Dimitrov commented
Closing due to inactivity.