mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
ImportToken does not clear up the page when going back (#14093)
This commit is contained in:
parent
73b3881348
commit
e9cd1237ce
@ -113,7 +113,10 @@ const ConfirmImportToken = () => {
|
||||
type="secondary"
|
||||
large
|
||||
className="page-container__footer-button"
|
||||
onClick={() => history.push(IMPORT_TOKEN_ROUTE)}
|
||||
onClick={() => {
|
||||
dispatch(clearPendingTokens());
|
||||
history.push(IMPORT_TOKEN_ROUTE);
|
||||
}}
|
||||
>
|
||||
{t('back')}
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user