From 0221d45affbee40396cec8e5ec59fa5cf1cd706a Mon Sep 17 00:00:00 2001 From: Yana Date: Tue, 21 Jan 2025 15:07:28 +0200 Subject: [PATCH] fix build --- explorer-nextjs/src/components/staking/StakeTable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/explorer-nextjs/src/components/staking/StakeTable.tsx b/explorer-nextjs/src/components/staking/StakeTable.tsx index 31a9017ef9..e3f67bc605 100644 --- a/explorer-nextjs/src/components/staking/StakeTable.tsx +++ b/explorer-nextjs/src/components/staking/StakeTable.tsx @@ -161,11 +161,12 @@ const StakeTable = ({ nodes }: { nodes: MappedNymNodes }) => { }); return; } - nodeIdentityKey && + if (nodeIdentityKey) { setSelectedNodeForStaking({ nodeId: nodeId, identityKey: nodeIdentityKey, }); + } }, [isWalletConnected], );