From 279890693726b931f2ba25a1be4e8067506292d3 Mon Sep 17 00:00:00 2001 From: ahonn Date: Thu, 8 Feb 2024 13:35:30 +1100 Subject: [PATCH] fix: hide JoyID connector --- src/components/ConnectModal.tsx | 4 +++- src/connectors/base.ts | 1 + src/connectors/joyId.ts | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ConnectModal.tsx b/src/components/ConnectModal.tsx index 216ae9c..818795c 100644 --- a/src/components/ConnectModal.tsx +++ b/src/components/ConnectModal.tsx @@ -47,9 +47,11 @@ export default function ConnectModal(props: ConnectModalProps) { } }; + const visibleConnectors = connectors.filter((connector) => connector.visible !== false); + return ( - {connectors.map((connector) => ( + {visibleConnectors.map((connector) => (