Skip to content

Commit

Permalink
fix: remove unnecessary patch for React-Query
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmoschini committed Apr 13, 2022
1 parent 2120f92 commit 63d922f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ appSessionStateMonitor.start();

const queryClient = new QueryClient();

// Temporal solution to patch react-query:
// https://github.com/tannerlinsley/react-query/issues/3476#issuecomment-1092424508
// Anyway, it does not seems to be a good idea:
// https://github.com/tannerlinsley/react-query/issues/3476#issuecomment-1092501739
declare module "react-query/types/react/QueryClientProvider" {
interface QueryClientProviderProps {
children?: ReactNode;
}
}

const container = document.getElementById(
appServices.appConfiguration.appElementId
);
Expand Down

0 comments on commit 63d922f

Please sign in to comment.