summaryrefslogtreecommitdiff
path: root/src/pages/_app.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-03-15 15:15:02 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-03-15 15:15:02 +0700
commit402c7aaca4d0967201ec486a0a6bc075e86e32f3 (patch)
tree753492b3c823baa1c4c5c842b576b280a6170a1e /src/pages/_app.jsx
parent4e634a9d3556e94c7ce0729ef9f15b73495b2e28 (diff)
fix animation mobile
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 6fe07136..e32efc19 100644
--- a/src/pages/_app.jsx
+++ b/src/pages/_app.jsx
@@ -25,7 +25,7 @@ function MyApp({ Component, pageProps }) {
/>
<QueryClientProvider client={queryClient}>
<AnimatePresence
- mode='sync'
+ mode='wait'
initial={false}
onExitComplete={() => window.scrollTo(0, 0)}
>