unattach -> detach
This commit is contained in:
parent
da71103e42
commit
2da3762d40
|
@ -57,7 +57,7 @@ export function WalletCard ({ title, badges, provider, status }) {
|
|||
export function WalletButtonBar ({
|
||||
status, disable,
|
||||
className, children, onDelete, onCancel, hasCancel = true,
|
||||
createText = 'attach', deleteText = 'unattach', editText = 'save'
|
||||
createText = 'attach', deleteText = 'detach', editText = 'save'
|
||||
}) {
|
||||
const configured = isConfigured(status)
|
||||
return (
|
||||
|
|
|
@ -73,7 +73,7 @@ export default function LNbits () {
|
|||
router.push('/settings/wallets')
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
toaster.danger('failed to unattach: ' + err.message || err.toString?.())
|
||||
toaster.danger('failed to detach: ' + err.message || err.toString?.())
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
|
@ -94,7 +94,7 @@ export default function LNC () {
|
|||
router.push('/settings/wallets')
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
toaster.danger('failed to unattach: ' + err.message || err.toString?.())
|
||||
toaster.danger('failed to detach: ' + err.message || err.toString?.())
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
|
@ -66,7 +66,7 @@ export default function NWC () {
|
|||
router.push('/settings/wallets')
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
toaster.danger('failed to unattach: ' + err.message || err.toString?.())
|
||||
toaster.danger('failed to detach: ' + err.message || err.toString?.())
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue