From 402c7aaca4d0967201ec486a0a6bc075e86e32f3 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 15 Mar 2023 15:15:02 +0700
Subject: fix animation mobile

---
 src/pages/_app.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/_app.jsx')

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)}
         >
-- 
cgit v1.2.3

