summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-16 09:59:24 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-16 09:59:24 +0700
commitd0fa61c83fb50d504600ac8701ad3dc4c2de0f11 (patch)
tree775560c213b80e09e94d37baaec0c826ca6bec39 /src/pages
parent9da4c372d4ff44c130c9383765710f7287b62c52 (diff)
fix bug change paqe
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/_app.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx
index 2d74d8b7..4c4fed89 100644
--- a/src/pages/_app.jsx
+++ b/src/pages/_app.jsx
@@ -74,7 +74,7 @@ function MyApp({ Component, pageProps }) {
<NextProgress color='#F01C21' options={{ showSpinner: false }} />
<QueryClientProvider client={queryClient}>
<AnimatePresence
- mode={isMobile ? 'wait' : 'sync'}
+ mode='popLayout'
initial={false}
onExitComplete={() => window.scrollTo(0, 0)}
>