fix: motion initial animation in menu page

This commit is contained in:
Mahyar Khanbolooki
2025-08-13 00:18:23 +03:30
parent fc193758c1
commit 1bc9bc1a68
+1 -1
View File
@@ -257,7 +257,7 @@ const MenuIndex = () => {
</div>
<motion.div
initial={{ y: -5 }}
initial={{ y: smallCategoriesVisible ? 0 : -50, opacity: smallCategoriesVisible ? 1 : 0 }}
animate={{ y: smallCategoriesVisible ? 0 : -50, opacity: smallCategoriesVisible ? 1 : 0 }}
transition={{ duration: .1 }}
className={clsx(