From 347e28848fb063ffcb7f9268384409e57b7ef3ad Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Sat, 18 Feb 2023 22:08:07 +0700
Subject: change animation

---
 src/core/components/layouts/AnimationLayout.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/core/components/layouts/AnimationLayout.jsx')

diff --git a/src/core/components/layouts/AnimationLayout.jsx b/src/core/components/layouts/AnimationLayout.jsx
index cdd2d059..12b6d112 100644
--- a/src/core/components/layouts/AnimationLayout.jsx
+++ b/src/core/components/layouts/AnimationLayout.jsx
@@ -8,9 +8,9 @@ const AnimationLayout = ({ children, ...props }) => {
 
   return children && (
     <motion.main
-      initial={{ opacity: 0, x: 0, y: 0 }}
+      initial={{ opacity: 0, x: 15, y: 0 }}
       animate={{ opacity: 1, x: 0, y: 0 }}
-      exit={{ opacity: 0, x: 15, y: 0 }}
+      exit={{ opacity: 0, x: 0, y: 0 }}
       transition={transition}
       {...props}
     >
-- 
cgit v1.2.3

