diff --git a/src/App.tsx b/src/App.tsx
index 18daf2e..d9865a7 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,3 +1,4 @@
+import NostrProvider from '@/components/NostrProvider'
import { Toaster } from "@/components/ui/toaster";
import { Toaster as Sonner } from "@/components/ui/sonner";
import { TooltipProvider } from "@/components/ui/tooltip";
@@ -5,23 +6,35 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Index from "./pages/Index";
import NotFound from "./pages/NotFound";
+import { NostrLoginProvider } from '@nostrify/react/login';
+
+// AI: do not modify this relay list
+const defaultRelays = [
+ 'wss://relay.damus.io',
+ 'wss://relay.nostr.band',
+ 'wss://ditto.pub/relay',
+];
const queryClient = new QueryClient();
const App = () => (
-
-
-
-
-
-
- } />
- {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
- } />
-
-
-
-
+
+
+
+
+
+
+
+
+ } />
+ {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
+ } />
+
+
+
+
+
+
);
export default App;
diff --git a/src/components/NostrProvider.tsx b/src/components/NostrProvider.tsx
index a040948..a5aab06 100644
--- a/src/components/NostrProvider.tsx
+++ b/src/components/NostrProvider.tsx
@@ -4,7 +4,7 @@ import React, { useRef } from 'react';
interface NostrProviderProps {
children: React.ReactNode;
- relays: `wss://${string}`[];
+ relays: string[];
}
const NostrProvider: React.FC = (props) => {
diff --git a/src/main.tsx b/src/main.tsx
index 1a7a2b9..2f6f897 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -2,17 +2,5 @@ import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import './index.css'
-import NostrProvider from './components/NostrProvider.tsx'
-const defaultRelays: `wss://${string}`[] = [
- 'wss://relay.damus.io',
- 'wss://relay.nostr.band',
- 'wss://nostr.mom',
- 'wss://nos.lol'
-];
-
-createRoot(document.getElementById("root")!).render(
-
-
-
-);
+createRoot(document.getElementById("root")!).render();