Skip to content

Commit

Permalink
fix for asset overview
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoferro authored and infiniteflower committed Nov 19, 2024
1 parent b36e65a commit 3cbf42e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/UI/AssetOverview/AssetOverview.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ describe('AssetOverview', () => {
expect(navigation.navigate).toHaveBeenCalledWith('Swaps', {
params: {
sourcePage: 'MainView',
sourceToken: '0x0000000000000000000000000000000000000000',
sourceToken: asset.address,
},
screen: 'SwapsAmountView',
});
Expand Down
2 changes: 1 addition & 1 deletion app/components/UI/AssetOverview/AssetOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 3cbf42e

Please sign in to comment.