mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-05-21 17:32:03 +00:00
Fix relay list for testing
This commit is contained in:
parent
853d2a9055
commit
8d92ee6b57
@ -12,7 +12,7 @@ export const NDKProvider = ({ children }) => {
|
|||||||
const [ndk, setNdk] = useState(null);
|
const [ndk, setNdk] = useState(null);
|
||||||
// todo: remove this after testing phase
|
// todo: remove this after testing phase
|
||||||
// const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls);
|
// const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls);
|
||||||
const [userRelays, setUserRelays] = useState(readOnlyRelays);
|
const [userRelays, setUserRelays] = useState([...readOnlyRelays, "wss://relay.devs.tools"]);
|
||||||
|
|
||||||
const createNDKInstance = (relays) => {
|
const createNDKInstance = (relays) => {
|
||||||
const allRelays = [...new Set([...appConfig.defaultRelayUrls, ...relays])];
|
const allRelays = [...new Set([...appConfig.defaultRelayUrls, ...relays])];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user