Fix wallet detach unavailable (#1150)

This commit is contained in:
ekzyis 2024-05-06 15:04:05 -05:00 committed by GitHub
parent 051cb69f5e
commit 3f86981339
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ export default function CLN ({ ssrData }) {
/>
<AutowithdrawSettings />
<WalletButtonBar
enabled={!!wallet} onDelete={async () => {
status={!!wallet} onDelete={async () => {
try {
await removeWallet({ variables: { id: wallet?.id } })
toaster.success('saved settings')

View File

@ -76,7 +76,7 @@ export default function LightningAddress ({ ssrData }) {
/>
<AutowithdrawSettings />
<WalletButtonBar
enabled={!!wallet} onDelete={async () => {
status={!!wallet} onDelete={async () => {
try {
await removeWallet({ variables: { id: wallet?.id } })
toaster.success('saved settings')