Skip to content

Commit

Permalink
fix: remove react-query-devtools as it showing up in staging server (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv authored and vinu-deriv committed Oct 10, 2023
1 parent 5e96f76 commit 557a5d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/src/APIProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { PropsWithChildren } from 'react';
import DerivAPIBasic from '@deriv/deriv-api/dist/DerivAPIBasic';
import { getAppId, getSocketURL, useWS } from '@deriv/shared';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
// import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import APIContext from './APIContext';

declare global {
Expand Down Expand Up @@ -60,7 +60,7 @@ const APIProvider = ({ children, standalone = false }: PropsWithChildren<TProps>
<APIContext.Provider value={active_connection}>
<QueryClientProvider client={queryClient}>
{children}
<ReactQueryDevtools />
{/* <ReactQueryDevtools /> */}
</QueryClientProvider>
</APIContext.Provider>
);
Expand Down

0 comments on commit 557a5d1

Please sign in to comment.