pass hasSendWallet to ItemAct actor (#1804)

This commit is contained in:
Riccardo Balbo 2025-01-05 18:25:49 +01:00 committed by GitHub
parent 529b5d1fef
commit 95950cdff8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ export default function ItemAct ({ onClose, item, act = 'TIP', step, children, a
variables: { variables: {
id: item.id, id: item.id,
sats: Number(amount), sats: Number(amount),
act act,
hasSendWallet: wallets.length > 0
}, },
optimisticResponse: me optimisticResponse: me
? { ? {