From 55bddb852755104defdbaf40cee19cbc417257e9 Mon Sep 17 00:00:00 2001 From: hide-on-bush-x Date: Thu, 24 Aug 2023 12:03:35 -0300 Subject: [PATCH] Removing query client --- src/refactor/masanew.stories.tsx | 76 +++++++++++++++----------------- 1 file changed, 36 insertions(+), 40 deletions(-) diff --git a/src/refactor/masanew.stories.tsx b/src/refactor/masanew.stories.tsx index 622c92a2..4ad381c6 100644 --- a/src/refactor/masanew.stories.tsx +++ b/src/refactor/masanew.stories.tsx @@ -32,8 +32,6 @@ import { useGreenModal } from './ui/components/modals/create-green/use-green-mod import { openCreateSoulnameModal } from './ui/components/modals/create-soulname/CreateSoulnameModal'; import { useWalletClient } from './wallet-client/wallet-client-provider'; import { useAuthenticate } from './ui/components/modals/authenticate/use-authenticate'; -import { QueryClientProvider } from 'react-query'; -import { queryClient } from '../provider'; import { CustomGallerySBT } from './masa/interfaces'; // * nextjs fix @@ -196,8 +194,8 @@ const WalletInfo = () => { disabled={isDisconnected} onClick={ disconnect as unknown as - | MouseEventHandler - | undefined + | MouseEventHandler + | undefined } > Disconnect @@ -417,8 +415,8 @@ const SessionButtons = () => { type="button" onClick={ checkLogin as unknown as - | MouseEventHandler - | undefined + | MouseEventHandler + | undefined } > Check Login @@ -681,40 +679,38 @@ const CloudBaseSBT: CustomGallerySBT = { }; const TemplateNewMasaState = (props: Args) => ( - - - - - + + + ); export const NewMasaState = TemplateNewMasaState.bind({