From b1fda50d4c7af38d356f5c7753a3d11e651b6440 Mon Sep 17 00:00:00 2001 From: jude Date: Sat, 23 May 2026 18:15:41 +0100 Subject: [PATCH] Fix re-rendering issue --- .gitignore | 1 + .../src/components/App/index.tsx | 29 ++++++++----------- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 1590c05..195e9c8 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ dist-ssr *.njsproj *.sln *.sw? +.junie diff --git a/reminder-dashboard/src/components/App/index.tsx b/reminder-dashboard/src/components/App/index.tsx index 78544cd..919a381 100644 --- a/reminder-dashboard/src/components/App/index.tsx +++ b/reminder-dashboard/src/components/App/index.tsx @@ -28,22 +28,16 @@ const InnerApp = () => {
- ( - - - - )} - > - ( - - - - )} - > + + + + + + + + + + @@ -55,8 +49,9 @@ const InnerApp = () => { ); }; +const queryClient = new QueryClient(); + export function App() { - const queryClient = new QueryClient(); return (