feat: update create account screen
This commit is contained in:
@@ -9,6 +9,7 @@ import NDK, {
|
||||
NDKRelayAuthPolicies,
|
||||
} from "@nostr-dev-kit/ndk";
|
||||
import { ndkAdapter } from "@nostr-fetch/adapter-ndk";
|
||||
import { fetch } from "@tauri-apps/plugin-http";
|
||||
import { platform } from "@tauri-apps/plugin-os";
|
||||
import { relaunch } from "@tauri-apps/plugin-process";
|
||||
import Database from "@tauri-apps/plugin-sql";
|
||||
@@ -141,6 +142,9 @@ const LumeProvider = ({ children }: PropsWithChildren<object>) => {
|
||||
// clientNip89: '',
|
||||
});
|
||||
|
||||
// use tauri fetch
|
||||
ndk.httpFetch = fetch;
|
||||
|
||||
// add signer
|
||||
const signer = await initNostrSigner({
|
||||
storage,
|
||||
|
||||
Reference in New Issue
Block a user