{{ error.message }}
diff --git a/src/components/ui/badge/index.ts b/src/components/ui/badge/index.ts
index 3b9d8d3..f10bf5b 100644
--- a/src/components/ui/badge/index.ts
+++ b/src/components/ui/badge/index.ts
@@ -15,6 +15,8 @@ export const badgeVariants = cva(
'border-transparent bg-destructive/10 text-destructive hover:bg-destructive/20',
success:
'border-transparent bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-400',
+ warning:
+ 'border-transparent bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400',
outline: 'border-border text-foreground hover:bg-accent hover:text-accent-foreground',
},
},
diff --git a/src/composables/useNostr.ts b/src/composables/useNostr.ts
index 53916d3..dc198eb 100644
--- a/src/composables/useNostr.ts
+++ b/src/composables/useNostr.ts
@@ -4,27 +4,33 @@ import { NostrClient, type NostrClientConfig } from '@/lib/nostr/client'
export function useNostr(config: NostrClientConfig) {
const client = new NostrClient(config)
const isConnected = ref(false)
+ const isConnecting = ref(false)
const error = ref