diff --git a/packages/shared/components/popups/Transaction.svelte b/packages/shared/components/popups/Transaction.svelte index c8b47be10ea..ba5df0b9882 100644 --- a/packages/shared/components/popups/Transaction.svelte +++ b/packages/shared/components/popups/Transaction.svelte @@ -28,8 +28,9 @@ } $: accountOverview = $participationOverview?.find((apo) => apo?.accountIndex === $selectedAccount.index) - $: isAccountVoting = Object.values(accountOverview.trackedParticipations) - ?.find((tp) => tp?.find((p) => p?.endMilestoneIndex === 0))?.length > 0 ?? false + $: isAccountVoting = + Object.values(accountOverview?.trackedParticipations)?.find((tp) => tp?.find((p) => p?.endMilestoneIndex === 0)) + ?.length > 0 ?? false let activeParticipationType: ActiveParticipationType | '' $: {