mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2025-01-03 08:33:48 +01:00
remove return statement
This commit is contained in:
parent
8eb1e4e7d0
commit
f17d8ad917
@ -52,7 +52,7 @@ export function createThrottle() {
|
||||
|
||||
if (!startLoop) return;
|
||||
|
||||
return (function loop() {
|
||||
(function loop() {
|
||||
return next().then(() => {
|
||||
if (typeof next === 'function') return loop();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user