diff --git a/pages/settings/wallets/[wallet].js b/pages/settings/wallets/[wallet].js index b5469e9b..891307ce 100644 --- a/pages/settings/wallets/[wallet].js +++ b/pages/settings/wallets/[wallet].js @@ -38,7 +38,7 @@ export default function WalletSettings () { // 'enabled' and 'priority' which are not defined in wallet.fields. return { ...acc, - [field.name]: wallet?.config?.[field.name] || '' + [field.name]: wallet?.config?.[field.name] || field.defaultValue || '' } }, wallet?.config) diff --git a/wallets/blink/index.js b/wallets/blink/index.js index bd8ac4df..42a2efc5 100644 --- a/wallets/blink/index.js +++ b/wallets/blink/index.js @@ -24,6 +24,7 @@ export const fields = [ type: 'text', help: 'the blink wallet to use for sending (BTC or USD for stablesats)', placeholder: 'BTC', + defaultValue: 'BTC', clear: true, autoComplete: 'off', clientOnly: true, @@ -50,6 +51,7 @@ export const fields = [ label: 'receive wallet type', type: 'text', help: 'the blink wallet to use for receiving (only BTC available)', + defaultValue: 'BTC', clear: true, autoComplete: 'off', placeholder: 'BTC',