aboutsummaryrefslogtreecommitdiff
path: root/pages/en/index.js
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-09-16 15:39:47 +0700
committerFactiven <[email protected]>2023-09-16 15:39:47 +0700
commitdfb45f454514bb31fb10fedbad3bb946c793e246 (patch)
treea4829574989a17faed4a94ad168bcdb4f5ad2836 /pages/en/index.js
parentUpdate v4.0.2 (#75) (diff)
downloadmoopa-4.0.3.tar.xz
moopa-4.0.3.zip
Update v4.0.3v4.0.3
Diffstat (limited to 'pages/en/index.js')
-rw-r--r--pages/en/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/en/index.js b/pages/en/index.js
index acd3705..0ef8d27 100644
--- a/pages/en/index.js
+++ b/pages/en/index.js
@@ -493,7 +493,7 @@ export default function Home({ detail, populars, upComing }) {
transition={{ duration: 0.5, staggerChildren: 0.2 }} // Add staggerChildren prop
>
{/* SECTION 3 */}
- {recentAdded.length > 0 && (
+ {recentAdded?.length > 0 && (
<motion.section // Add motion.div to each child component
key="recentAdded"
initial={{ y: 20, opacity: 0 }}