Skip to content

Commit

Permalink
ReactQueryDevtools
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackRam-oss committed Oct 14, 2024
1 parent 93bbc8e commit b14b819
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
30 changes: 30 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"vite-plugin-checker": "^0.8.0"
},
"devDependencies": {
"@tanstack/react-query-devtools": "^5.59.13",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.8.1",
Expand Down
9 changes: 9 additions & 0 deletions src/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Box } from '@mui/joy';
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import Routes from './AppRoutes';
import ApImports from './Imports';
import EventInterceptor from './interceptors/EventInterceptor';
Expand All @@ -13,6 +15,13 @@ export default function Home() {
<GameSaveScreen />
<SaveLoadAlert />
<EventInterceptor />
<Box
sx={{
pointerEvents: "auto",
}}
>
<ReactQueryDevtools initialIsOpen={false} />
</Box>
</ApImports>
)
}

0 comments on commit b14b819

Please sign in to comment.