make tsc finally happy

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2025-11-11 18:05:11 +03:00
parent e10a4a37a5
commit 5dd4c415ac
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB

View File

@ -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