aboutsummaryrefslogtreecommitdiff
path: root/pages/en/index.js
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-09-13 18:24:50 +0700
committerGitHub <[email protected]>2023-09-13 18:24:50 +0700
commit195ffb79c013225cf65e8b89b1f2be0b34adb2f6 (patch)
tree97e2b2dc201955bf716ef4bf5011344270fcc3d1 /pages/en/index.js
parentUpdate v4 - Merge pre-push to main (#71) (diff)
downloadmoopa-195ffb79c013225cf65e8b89b1f2be0b34adb2f6.tar.xz
moopa-195ffb79c013225cf65e8b89b1f2be0b34adb2f6.zip
Update v4.0.1 - Merge pre-push to main (#73)v4.0.1
* Create build-test.yml * initial v4 commit * update: github workflow * update: push on branch * Update .github/ISSUE_TEMPLATE/bug_report.md * configuring next.config.js file * Update v4.0.1
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 5577fc4..acd3705 100644
--- a/pages/en/index.js
+++ b/pages/en/index.js
@@ -398,7 +398,7 @@ export default function Home({ detail, populars, upComing }) {
animate={{ opacity: 1 }}
transition={{ duration: 0.5, staggerChildren: 0.2 }} // Add staggerChildren prop
>
- {user?.length > 0 && (
+ {user?.length > 0 && user?.some((i) => i?.watchId) && (
<motion.section // Add motion.div to each child component
key="recentlyWatched"
initial={{ y: 20, opacity: 0 }}