unattach -> detach

This commit is contained in:
keyan 2024-04-27 18:37:31 -05:00
parent da71103e42
commit 2da3762d40
4 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ export function WalletCard ({ title, badges, provider, status }) {
export function WalletButtonBar ({ export function WalletButtonBar ({
status, disable, status, disable,
className, children, onDelete, onCancel, hasCancel = true, className, children, onDelete, onCancel, hasCancel = true,
createText = 'attach', deleteText = 'unattach', editText = 'save' createText = 'attach', deleteText = 'detach', editText = 'save'
}) { }) {
const configured = isConfigured(status) const configured = isConfigured(status)
return ( return (

View File

@ -73,7 +73,7 @@ export default function LNbits () {
router.push('/settings/wallets') router.push('/settings/wallets')
} catch (err) { } catch (err) {
console.error(err) console.error(err)
toaster.danger('failed to unattach: ' + err.message || err.toString?.()) toaster.danger('failed to detach: ' + err.message || err.toString?.())
} }
}} }}
/> />

View File

@ -94,7 +94,7 @@ export default function LNC () {
router.push('/settings/wallets') router.push('/settings/wallets')
} catch (err) { } catch (err) {
console.error(err) console.error(err)
toaster.danger('failed to unattach: ' + err.message || err.toString?.()) toaster.danger('failed to detach: ' + err.message || err.toString?.())
} }
}} }}
/> />

View File

@ -66,7 +66,7 @@ export default function NWC () {
router.push('/settings/wallets') router.push('/settings/wallets')
} catch (err) { } catch (err) {
console.error(err) console.error(err)
toaster.danger('failed to unattach: ' + err.message || err.toString?.()) toaster.danger('failed to detach: ' + err.message || err.toString?.())
} }
}} }}
/> />