summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/components/layouts/AnimationLayout.jsx2
-rw-r--r--src/pages/_app.jsx2
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 }) {
/>
<QueryClientProvider client={queryClient}>
<AnimatePresence
- mode='sync'
+ mode='wait'
initial={false}
onExitComplete={() => window.scrollTo(0, 0)}
>