summaryrefslogtreecommitdiff
path: root/src/pages/_app.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/_app.jsx')
-rw-r--r--src/pages/_app.jsx16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx
index 0110576a..e32efc19 100644
--- a/src/pages/_app.jsx
+++ b/src/pages/_app.jsx
@@ -19,10 +19,20 @@ function MyApp({ Component, pageProps }) {
className: 'border border-gray_r-8'
}}
/>
- <NextProgress color='#F01C21' options={{ showSpinner: false }} />
+ <NextProgress
+ color='#F01C21'
+ options={{ showSpinner: false }}
+ />
<QueryClientProvider client={queryClient}>
- <AnimatePresence mode='wait' initial={false} onExitComplete={() => window.scrollTo(0, 0)}>
- <Component {...pageProps} key={router.asPath} />
+ <AnimatePresence
+ mode='wait'
+ initial={false}
+ onExitComplete={() => window.scrollTo(0, 0)}
+ >
+ <Component
+ {...pageProps}
+ key={router.asPath}
+ />
</AnimatePresence>
</QueryClientProvider>
</>