diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-18 22:21:46 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-18 22:21:46 +0700 |
| commit | 67582cf3274929359eebe849b2fbeda4f3a8f630 (patch) | |
| tree | aff8337050028f100a65e1b1ba981c2ddec9d83d /src/core/components/layouts/AnimationLayout.jsx | |
| parent | 75767ed41d28947429f3dbef9c7e128ebc552e64 (diff) | |
change animation
Diffstat (limited to 'src/core/components/layouts/AnimationLayout.jsx')
| -rw-r--r-- | src/core/components/layouts/AnimationLayout.jsx | 4 |
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} > |
