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.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)}
>