ImportToken does not clear up the page when going back (#14093)

feature/default_network_editable
Niranjana Binoy 3 years ago committed by Dan Miller
parent 73b3881348
commit e9cd1237ce
  1. 5
      ui/pages/confirm-import-token/confirm-import-token.js

@ -113,7 +113,10 @@ const ConfirmImportToken = () => {
type="secondary" type="secondary"
large large
className="page-container__footer-button" className="page-container__footer-button"
onClick={() => history.push(IMPORT_TOKEN_ROUTE)} onClick={() => {
dispatch(clearPendingTokens());
history.push(IMPORT_TOKEN_ROUTE);
}}
> >
{t('back')} {t('back')}
</Button> </Button>

Loading…
Cancel
Save