summaryrefslogtreecommitdiff
path: root/src/core/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-18 22:08:07 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-18 22:08:07 +0700
commit347e28848fb063ffcb7f9268384409e57b7ef3ad (patch)
tree4c107dd96796ecdf6baa867dd8524c31079c6060 /src/core/components
parent69f55de26319e570ce0a8c4dbe8a29cb0d0b51c5 (diff)
change animation
Diffstat (limited to 'src/core/components')
-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 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}
>