From 5dd4c415acfe51a020fa71483d5cde97f39d6b3b Mon Sep 17 00:00:00 2001 From: Uncle Fatso Date: Tue, 11 Nov 2025 18:05:11 +0300 Subject: [PATCH] make tsc finally happy Signed-off-by: Uncle Fatso --- src/containers/Nominations.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Nominations.tsx b/src/containers/Nominations.tsx index 74baa4e..b9bc4c4 100644 --- a/src/containers/Nominations.tsx +++ b/src/containers/Nominations.tsx @@ -242,7 +242,7 @@ export const Nominations = () => { const bondedAddress = useBondedAddress({ address: account?.address }) const payeeCalldata = usePayeeCalldata(expectedPayee, destinationReceiver) - const withdrawCalldata = useWithdrawCalldata(slashingSpans?.prior?.length + 1 ?? 0) + const withdrawCalldata = useWithdrawCalldata((slashingSpans?.prior?.length ?? 0) + 1) const nominateCalldata = useNominateCalldata(checkedAddresses) const bondExtraCalldata = useBondExtraCalldata( convertedAmount > 0n ? convertedAmount : undefined