- // Cancel any link account ops in progess unless the user has
- // just logged in or there has been a successful link operation
- const data = sessionStorage.getItem(ACCOUNT_LINK_STATUS_KEY);
- if (!matchTokenRoute(history.location.pathname) && data === null) {
- store.dispatch<any>(cancelLinking());
- }
-