This should be `if (!next.$route || next.$route.redirectTo) { ` - we're detecting if this is a "useless" route - if it useless, we don't transition to it.