From bd1d461806c6b4266669320684942f497efa4772 Mon Sep 17 00:00:00 2001
From: Jon Heywood <94459819+jjheywood@users.noreply.github.com>
Date: Tue, 9 Jul 2024 14:49:21 +0200
Subject: [PATCH] fix: hide bushinode keychain
---
spaceward/src/features/keys/NewKeyButton.tsx | 30 +++++++++++---------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/spaceward/src/features/keys/NewKeyButton.tsx b/spaceward/src/features/keys/NewKeyButton.tsx
index 435184216..c816ecfc9 100644
--- a/spaceward/src/features/keys/NewKeyButton.tsx
+++ b/spaceward/src/features/keys/NewKeyButton.tsx
@@ -95,20 +95,22 @@ export function NewKeyButton() {
{q.data?.pages.flatMap(
(page) =>
page.keychains?.map(
- (kr) => (
-
- {
- kr.description
- }
-
- ),
+ (kr) =>
+ kr.id !==
+ "3" && (
+
+ {
+ kr.description
+ }
+
+ ),
),
)}