temporary using default relays

This commit is contained in:
Ren Amamiya
2023-09-18 15:42:17 +07:00
parent 53aa13c8aa
commit 380d1fb930
16 changed files with 39 additions and 31 deletions

View File

@@ -5,12 +5,12 @@ import { PropsWithChildren, createContext, useContext } from 'react';
import { NDKInstance } from '@libs/ndk/instance';
interface NDKContext {
ndk: NDK;
ndk: undefined | NDK;
relayUrls: string[];
}
const NDKContext = createContext<NDKContext>({
ndk: new NDK({}),
ndk: undefined,
relayUrls: [],
});