diff --git a/src/App.tsx b/src/App.tsx index e040944..f30259e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,3 +1,6 @@ +// NOTE: This file should normally not be modified unless you are adding a new provider. +// To add new routes, edit the AppRouter.tsx file. + import NostrProvider from '@/components/NostrProvider' import { Toaster } from "@/components/ui/toaster"; import { Toaster as Sonner } from "@/components/ui/sonner"; @@ -6,11 +9,9 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { NostrLoginProvider } from '@nostrify/react/login'; import AppRouter from './AppRouter'; -// AI: do not modify this relay list +// TIP: Using just one relay currently offers the best performance. const defaultRelays = [ - 'wss://relay.damus.io', 'wss://relay.nostr.band', - 'wss://ditto.pub/relay', ]; const queryClient = new QueryClient({ @@ -23,9 +24,6 @@ const queryClient = new QueryClient({ }, }); -// NOTE: This file should normally not be modified unless you are adding a new provider. -// To add new routes, edit the AppRouter.tsx file. - export function App() { return (