This commit is contained in:
ekzyis 2024-07-05 21:34:48 +02:00
parent 83fd39b035
commit 850c534c91
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ function useConfig (wallet) {
function isConfigured ({ fields, config }) {
if (!config || !fields) return false
// a wallet is configured if all of it's required fields are set
// a wallet is configured if all of its required fields are set
const val = fields.every(field => {
return field.optional ? true : !!config?.[field.name]
})