Skip to content
This repository was archived by the owner on Sep 20, 2020. It is now read-only.

Commit f22c543

Browse files
fix(future): Fixed double-urlRouter.sync() because of future state retry
Closes #138
1 parent 710e1d7 commit f22c543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/future.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
initPromise().then(function retryInitialState() {
250250
$timeout(function () {
251251
if ($state.transition) {
252-
$state.transition.then($urlRouter.sync, $urlRouter.sync);
252+
$state.transition.then(retryInitialState, retryInitialState);
253253
} else {
254254
$urlRouter.sync();
255255
}

0 commit comments

Comments
 (0)