From efbcf0225e2a3dea0453a41a81bb21e8e97a2de8 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 13 Feb 2024 00:53:18 +0200 Subject: [PATCH] Fix pnl for parallel network --- .../table/balancesTable/utils/ActionPanel.tsx | 4 ++-- src/components/table/balancesTable/utils/index.tsx | 14 ++++++++------ src/components/table/customTable/TableContext.tsx | 8 ++++---- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/components/table/balancesTable/utils/ActionPanel.tsx b/src/components/table/balancesTable/utils/ActionPanel.tsx index 210163d..0a17583 100644 --- a/src/components/table/balancesTable/utils/ActionPanel.tsx +++ b/src/components/table/balancesTable/utils/ActionPanel.tsx @@ -89,7 +89,7 @@ const ActionPanel = ({ ) return !isEmptyArray(balances.filter(isDef)) - }, [JSON.stringify(balancesFromStore || {})]) + }, [ JSON.stringify(balancesFromStore || {}) ]) const totalBalance = loading ? ( { } placement='bottomLeft' - trigger={['click']} + trigger={[ 'click' ]} >