Skip to content

Commit

Permalink
Adjust iTime
Browse files Browse the repository at this point in the history
  • Loading branch information
dabbott committed Jan 16, 2023
1 parent 79fe99c commit 7153f1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function useClock({ enabled }: { enabled: boolean }) {
if (!enabled) return;

const id = requestAnimationFrame(() => {
setTime(performance.now());
setTime(performance.now() / 1000);
});

return () => {
Expand Down

0 comments on commit 7153f1b

Please sign in to comment.