Fix wallet detach unavailable (#1150)
This commit is contained in:
parent
051cb69f5e
commit
3f86981339
@ -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')
|
||||
|
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user