{
+ setShowUtxos(undefined)
+ }}
+ alert={alert}
+ isLoading={isUtxosLoading}
+ frozenUtxos={frozenUtxos}
+ unFrozenUtxos={unFrozenUtxos}
+ setFrozenUtxos={setFrozenUtxos}
+ setUnFrozenUtxos={setUnFrozenUtxos}
/>
- ))}
+ )}
+ {jarBalances.map((it) => {
+ return (
+
+ 0}
+ isSelected={it.accountIndex === field.value}
+ fillLevel={jarFillLevel(
+ it.calculatedTotalBalanceInSats,
+ walletInfo.balanceSummary.calculatedTotalBalanceInSats,
+ )}
+ variant={it.accountIndex === field.value ? variant : undefined}
+ onClick={(jarIndex: number) => {
+ form.setFieldValue(field.name, jarIndex, true)
+ if (
+ it.accountIndex === field.value &&
+ !disabled &&
+ !isLoading &&
+ it.calculatedTotalBalanceInSats > 0
+ ) {
+ setShowUtxos({
+ jarIndex: it.accountIndex.toString(),
+ isOpen: true,
+ })
+ }
+ }}
+ />
+
+ )
+ })}