From 402c7aaca4d0967201ec486a0a6bc075e86e32f3 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 15 Mar 2023 15:15:02 +0700 Subject: fix animation mobile --- src/core/components/layouts/AnimationLayout.jsx | 2 +- src/pages/_app.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/components/layouts/AnimationLayout.jsx b/src/core/components/layouts/AnimationLayout.jsx index 7acf21dc..6884fb4b 100644 --- a/src/core/components/layouts/AnimationLayout.jsx +++ b/src/core/components/layouts/AnimationLayout.jsx @@ -14,7 +14,7 @@ const AnimationLayout = ({ children, ...props }) => { opacity: 1, x: 0, y: 0, - transition: { duration: 0.2, delay: 0.2, ease: 'easeInOut' } + transition: { duration: 0.2, ease: 'easeInOut' } } const exitConfig = { diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx index 6fe07136..e32efc19 100644 --- a/src/pages/_app.jsx +++ b/src/pages/_app.jsx @@ -25,7 +25,7 @@ function MyApp({ Component, pageProps }) { /> window.scrollTo(0, 0)} > -- cgit v1.2.3