diff --git a/app/components/UI/AssetOverview/AssetOverview.test.tsx b/app/components/UI/AssetOverview/AssetOverview.test.tsx index 039d0412848..84b3363aef1 100644 --- a/app/components/UI/AssetOverview/AssetOverview.test.tsx +++ b/app/components/UI/AssetOverview/AssetOverview.test.tsx @@ -133,7 +133,7 @@ describe('AssetOverview', () => { expect(navigation.navigate).toHaveBeenCalledWith('Swaps', { params: { sourcePage: 'MainView', - sourceToken: '0x0000000000000000000000000000000000000000', + sourceToken: asset.address, }, screen: 'SwapsAmountView', }); diff --git a/app/components/UI/AssetOverview/AssetOverview.tsx b/app/components/UI/AssetOverview/AssetOverview.tsx index be31639263a..9e4f1eeaa41 100644 --- a/app/components/UI/AssetOverview/AssetOverview.tsx +++ b/app/components/UI/AssetOverview/AssetOverview.tsx @@ -45,7 +45,7 @@ import Routes from '../../../constants/navigation/Routes'; import TokenDetails from './TokenDetails'; import { RootState } from '../../../reducers'; import useGoToBridge from '../Bridge/utils/useGoToBridge'; -import SwapsController, { swapsUtils } from '@metamask/swaps-controller'; +import SwapsController from '@metamask/swaps-controller'; import { MetaMetricsEvents } from '../../../core/Analytics'; import { getDecimalChainId } from '../../../util/networks'; import { useMetrics } from '../../../components/hooks/useMetrics';