From c1f41c5c993249cd48f2956864e1c74109629130 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Fri, 2 Feb 2024 11:13:39 +0100 Subject: [PATCH] Show 'configure' on error --- components/wallet-card.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/wallet-card.js b/components/wallet-card.js index d5923c6b7..77579604c 100644 --- a/components/wallet-card.js +++ b/components/wallet-card.js @@ -7,6 +7,7 @@ import CancelButton from './cancel-button' import { SubmitButton } from './form' export function WalletCard ({ title, badges, provider, enabled }) { + const isConfigured = enabled === true || enabled === false return (
@@ -23,7 +24,7 @@ export function WalletCard ({ title, badges, provider, enabled }) { {provider && - {enabled + {isConfigured ? <>configure : <>attach}