Skip to content

Commit

Permalink
fix: remove react-query-devtools as it showing up in staging server (b…
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed Oct 4, 2023
1 parent d1f0680 commit ad3eb3b
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 ad3eb3b

Please sign in to comment.