Skip to content

Commit 67700ad

Browse files
committed
Remove setTimeout
1 parent f365644 commit 67700ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

client/modules/IDE/actions/project.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ export function resetProject() {
270270
}
271271

272272
export function newProject() {
273-
setTimeout(() => {
274-
browserHistory.push('/');
275-
}, 0);
273+
browserHistory.push('/');
276274
return resetProject();
277275
}
278276

0 commit comments

Comments
 (0)