From 67582cf3274929359eebe849b2fbeda4f3a8f630 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Sat, 18 Feb 2023 22:21:46 +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 f40f1eec..adb6b081 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: 30, y: 0 }}
+      initial={{ opacity: 0, x: 0, y: 0 }}
       animate={{ opacity: 1, x: 0, y: 0 }}
-      exit={{ opacity: 0, x: 0, y: 0 }}
+      exit={{ opacity: 0, x: 30, y: 0 }}
       transition={transition}
       {...props}
     >
-- 
cgit v1.2.3

