mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 13:09:22 +00:00
Switch to Ditto relay, don't include intentional error in App.tsx lol
This commit is contained in:
parent
d14652559e
commit
2c5d38013f
@ -8,11 +8,10 @@ import { TooltipProvider } from "@/components/ui/tooltip";
|
|||||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||||
import { NostrLoginProvider } from '@nostrify/react/login';
|
import { NostrLoginProvider } from '@nostrify/react/login';
|
||||||
import AppRouter from './AppRouter';
|
import AppRouter from './AppRouter';
|
||||||
import { useLocation } from 'react-router-dom';
|
|
||||||
|
|
||||||
// DO NOT MODIFY THIS RELAY LIST UNLESS EXPLICITLY REQUESTED
|
// DO NOT MODIFY THIS RELAY LIST UNLESS EXPLICITLY REQUESTED
|
||||||
const defaultRelays = [
|
const defaultRelays = [
|
||||||
'wss://relay.nostr.band',
|
'wss://ditto.pub/relay',
|
||||||
// DO NOT ADD ANY RELAY WITHOUT FIRST USING A TOOL TO VERIFY IT IS ONLINE AND FUNCTIONAL
|
// DO NOT ADD ANY RELAY WITHOUT FIRST USING A TOOL TO VERIFY IT IS ONLINE AND FUNCTIONAL
|
||||||
// IF YOU CANNOT VERIFY A RELAY IS ONLINE AND FUNCTIONAL, DO NOT ADD IT HERE
|
// IF YOU CANNOT VERIFY A RELAY IS ONLINE AND FUNCTIONAL, DO NOT ADD IT HERE
|
||||||
];
|
];
|
||||||
@ -28,8 +27,6 @@ const queryClient = new QueryClient({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export function App() {
|
export function App() {
|
||||||
const location = useLocation();
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NostrLoginProvider storageKey='nostr:login'>
|
<NostrLoginProvider storageKey='nostr:login'>
|
||||||
<NostrProvider relays={defaultRelays}>
|
<NostrProvider relays={defaultRelays}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user