Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 04f8bd2

Browse files
Fix: removed last performance.now() from the codebase
1 parent 2195756 commit 04f8bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/native/components/world.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default class World extends Component {
3939
};
4040

4141
loop = () => {
42-
const currTime = 0.001 * performance.now();
42+
const currTime = 0.001 * Date.now();
4343
Engine.update(
4444
this.engine,
4545
1000 / 60,

0 commit comments

Comments
 (0)