Closed
Description
$transitions.onStart({
to: (state) => state.auth
}, () => {
if (syncAuthCheckFailed()) {
$state.go('state_not_auth');
return false;
} else {
return true;
}
});
error:
message: "The transition has been superseded by a different transition (see detail)."
without $state.go() everything is fine
update
even i just simply called the $state.go inside onEnter, same error appear.
onEnter: ['$state', function ($state) {
$state.go('guest');
}]