feat: account
This commit is contained in:
1 parent
df0f7c943b
commit
043375f44a
17 files changed
+305
-131
No files matched your search
+4
-4
@@ -1,11 +1,11 @@
|
||||
'use client';
|
||||
|
||||
import { FC, ReactNode, useState } from 'react';
|
||||
import { FC, ReactNode } from 'react';
|
||||
import ModalContainer from 'react-modal-promise';
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
||||
import { QueryClientProvider } from '@tanstack/react-query';
|
||||
|
||||
import { Toaster } from '@/components/ui/toaster';
|
||||
import { queryClientOptions } from '@/lib/queryClient';
|
||||
import getQueryClient from '@/lib/queryClient';
|
||||
|
||||
import ThemeProvider from './Theme';
|
||||
|
||||
@@ -15,7 +15,7 @@ interface Props {
|
||||
}
|
||||
|
||||
const Providers: FC<Props> = ({ children, theme }) => {
|
||||
const [queryClient] = useState(() => new QueryClient(queryClientOptions));
|
||||
const queryClient = getQueryClient();
|
||||
|
||||
return (
|
||||
<QueryClientProvider client={queryClient}>
|
||||
|
||||
Reference in new issue
Block a user