From 9f56e43b2e8d6836ab173110b5138741f115afa4 Mon Sep 17 00:00:00 2001 From: Paul V Puey Date: Thu, 21 Dec 2023 18:14:57 -0800 Subject: [PATCH] fixup! Upgrade edge-core-js to 2.0.0 --- src/actions/CategoriesActions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/CategoriesActions.ts b/src/actions/CategoriesActions.ts index a951e69169b..85514cbd20d 100644 --- a/src/actions/CategoriesActions.ts +++ b/src/actions/CategoriesActions.ts @@ -284,9 +284,9 @@ export const getTxActionDisplayInfo = ( case 'swapOrderFill': { // Determine if the swap destination was to a different asset or if the // swap source was from a different asset. - const txSrcSameAsset = action.sourceAsset.tokenId === tokenId && action.sourceAsset.pluginId === wallet.currencyInfo.pluginId + const txSrcSameAsset = action.fromAsset.tokenId === tokenId && action.fromAsset.pluginId === wallet.currencyInfo.pluginId const toFromStr = txSrcSameAsset ? lstrings.transaction_details_swap_to_subcat_1s : lstrings.transaction_details_swap_from_subcat_1s - const otherAsset = txSrcSameAsset ? action.destAsset : action.sourceAsset + const otherAsset = txSrcSameAsset ? action.toAsset : action.fromAsset return { splitCategory: {