fully support tauri v2

This commit is contained in:
Ren Amamiya
2023-07-29 09:28:15 +07:00
parent a1a5544789
commit aca17f104e
23 changed files with 751 additions and 111 deletions

View File

@@ -1,7 +1,7 @@
import { Dialog, Transition } from '@headlessui/react';
import { NDKEvent } from '@nostr-dev-kit/ndk';
import { useQueryClient } from '@tanstack/react-query';
import { fetch } from '@tauri-apps/api/http';
import { fetch } from '@tauri-apps/plugin-http';
import { Fragment, useEffect, useState } from 'react';
import { useForm } from 'react-hook-form';