diff --git a/react-delegationdashboard/src/pages/Owner/Nodes/NodeRow.tsx b/react-delegationdashboard/src/pages/Owner/Nodes/NodeRow.tsx index eda5d647..916bdb95 100644 --- a/react-delegationdashboard/src/pages/Owner/Nodes/NodeRow.tsx +++ b/react-delegationdashboard/src/pages/Owner/Nodes/NodeRow.tsx @@ -57,10 +57,10 @@ const NodeRow = ({ blsKey: key }: { blsKey: NodeType; index: number }) => { args: [BytesValue.fromHex(key.blsKey)], }); if (key.status.key === 'unStaked') { - const untypedResponse = value.outputUntyped(); dapp.proxy .queryContract(query) .then(value => { + const untypedResponse = value.outputUntyped(); const remainingUnBondPeriod = decodeUnsignedNumber(untypedResponse[0]); const newRemaining = remainingUnBondPeriod !== undefined ? remainingUnBondPeriod : 0;