removed layout

This commit is contained in:
Robert 2024-03-07 02:18:11 +07:00
parent 2aa5ab58d4
commit 22165e255b
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22

View File

@ -13,7 +13,6 @@ export default function Root({ children, className }: RootProps) {
<AnimatePresence initial={false}>
{Children.map(children, (child, index) => (
<motion.li
layout
key={index}
initial={{ opacity: 0, height: 0 }}
animate={{ opacity: 1, height: "auto" }}