diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-22 23:36:47 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-22 23:36:47 +0700 |
| commit | ac3fdf7be9982e65d8f83a20bc487f8dd62e3bfc (patch) | |
| tree | 687d984708708833999c9b83f1e74e32cf64b1c1 /src/pages/_app.jsx | |
| parent | 8cfb615556e67408d7afb6d9694b2407447085ff (diff) | |
fix
Diffstat (limited to 'src/pages/_app.jsx')
| -rw-r--r-- | src/pages/_app.jsx | 16 |
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> </> |
