summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-18 22:21:46 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-18 22:21:46 +0700
commit67582cf3274929359eebe849b2fbeda4f3a8f630 (patch)
treeaff8337050028f100a65e1b1ba981c2ddec9d83d
parent75767ed41d28947429f3dbef9c7e128ebc552e64 (diff)
change animation
-rw-r--r--src/core/components/layouts/AnimationLayout.jsx4
1 files changed, 2 insertions, 2 deletions
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}
>