From cbd990d8206977dc24c35bba2becebec6d5d285c Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Thu, 11 May 2023 10:54:48 -0500 Subject: [PATCH] add tags list to kitchensink --- src/components/KitchenSink.tsx | 37 ++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/src/components/KitchenSink.tsx b/src/components/KitchenSink.tsx index 5f8e353..8e2f119 100644 --- a/src/components/KitchenSink.tsx +++ b/src/components/KitchenSink.tsx @@ -110,7 +110,7 @@ function ConnectPeer(props: { refetchPeers: RefetchPeersType }) {
@@ -259,7 +259,7 @@ function OpenChannel(props: { refetchChannels: RefetchChannelsListType }) { Pubkey @@ -267,7 +267,7 @@ function OpenChannel(props: { refetchChannels: RefetchChannelsListType }) { Amount @@ -313,7 +313,7 @@ function LnUrlAuth() { @@ -327,6 +327,32 @@ function LnUrlAuth() { ) } +function ListTags() { + const [_state, actions] = useMegaStore() + + const [tags] = createResource(actions.listTags) + + return ( + + + +

+ {">"} Tags +

+
+ + +
+                        {JSON.stringify(tags(), null, 2)}
+                    
+
+
+
+ + ) +} + + export default function KitchenSink() { @@ -339,6 +365,9 @@ export default function KitchenSink() {
+
+ +