chore(client): update PageTransition spacing
This commit is contained in:
parent
5b0c50809c
commit
57e4d8039b
|
|
@ -6,7 +6,7 @@ export default function PageTransition({ children, routeKey }) {
|
||||||
if (reduceMotion) return children;
|
if (reduceMotion) return children;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AnimatePresence mode="wait" initial={false}>
|
<AnimatePresence initial={false}>
|
||||||
<motion.div
|
<motion.div
|
||||||
key={routeKey}
|
key={routeKey}
|
||||||
initial={{ opacity: 0, y: 8 }}
|
initial={{ opacity: 0, y: 8 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue