From ac3fdf7be9982e65d8f83a20bc487f8dd62e3bfc Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 23:36:47 +0700
Subject: fix

---
 src/pages/_app.jsx | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

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

diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx
index 0110576a..e32efc19 100644
--- a/src/pages/_app.jsx
+++ b/src/pages/_app.jsx
@@ -19,10 +19,20 @@ function MyApp({ Component, pageProps }) {
           className: 'border border-gray_r-8'
         }}
       />
-      <NextProgress color='#F01C21' options={{ showSpinner: false }} />
+      <NextProgress
+        color='#F01C21'
+        options={{ showSpinner: false }}
+      />
       <QueryClientProvider client={queryClient}>
-        <AnimatePresence mode='wait' initial={false} onExitComplete={() => window.scrollTo(0, 0)}>
-          <Component {...pageProps} key={router.asPath} />
+        <AnimatePresence
+          mode='wait'
+          initial={false}
+          onExitComplete={() => window.scrollTo(0, 0)}
+        >
+          <Component
+            {...pageProps}
+            key={router.asPath}
+          />
         </AnimatePresence>
       </QueryClientProvider>
     </>
-- 
cgit v1.2.3

