diff --git a/ui/components/multichain/import-tokens-modal/import-tokens-modal.js b/ui/components/multichain/import-tokens-modal/import-tokens-modal.js index 255a2643175c..3bc95be4636f 100644 --- a/ui/components/multichain/import-tokens-modal/import-tokens-modal.js +++ b/ui/components/multichain/import-tokens-modal/import-tokens-modal.js @@ -452,7 +452,7 @@ export const ImportTokensModal = ({ onClose }) => { className="import-tokens-modal__autodetect" onClick={() => { history.push( - `${SECURITY_ROUTE}#advanced-settings-autodetect-tokens`, + `${SECURITY_ROUTE}#auto-detect-tokens`, ); onClose(); }} @@ -505,11 +505,12 @@ export const ImportTokensModal = ({ onClose }) => { + onClick={() => { history.push( - `${SECURITY_ROUTE}#advanced-settings-autodetect-tokens`, - ) - } + `${SECURITY_ROUTE}#auto-detect-tokens`, + ); + onClose(); + }} > {t('inYourSettings')} ,