From d0fa61c83fb50d504600ac8701ad3dc4c2de0f11 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 16 May 2023 09:59:24 +0700
Subject: fix bug change paqe

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

