Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

Changed tanstack devtools position to be less intrusive in dev env (#903)

Amanuel Odichob4ba63cf9d75
diff --git a/apps/web/src/app/[locale]/providers.tsx b/apps/web/src/app/[locale]/providers.tsx
index 3b76ebf1..e8f500df 100644
--- a/apps/web/src/app/[locale]/providers.tsx
+++ b/apps/web/src/app/[locale]/providers.tsx
@@ -19,7 +19,7 @@ interface Props {
const queryClient = new QueryClient();
export function Providers({ locale, children }: Props) {
- const position: Corner = 'top-right';
+ const position: Corner = 'bottom-right';
return (
<QueryClientProvider client={queryClient}>
<ReactQueryDevtools initialIsOpen={false} position={position} />
diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.css
index 204cd60c..17785e45 100644
--- a/apps/web/src/styles/globals.css
+++ b/apps/web/src/styles/globals.css
@@ -598,3 +598,7 @@ a {
transform: translateY(0%);
}
}
+
+.ReactQueryDevtools > button {
+ margin-bottom: 5rem !important;
+}