remove bad check
This commit is contained in:
@@ -221,10 +221,6 @@ function Feed() {
|
|||||||
const player = players?.[index % 3]
|
const player = players?.[index % 3]
|
||||||
const currentSource = currentSources[index % 3]
|
const currentSource = currentSources[index % 3]
|
||||||
|
|
||||||
if (!currentSource?.moderation) {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<VideoItem
|
<VideoItem
|
||||||
player={player}
|
player={player}
|
||||||
@@ -235,7 +231,7 @@ function Feed() {
|
|||||||
index === currentIndex &&
|
index === currentIndex &&
|
||||||
currentSource?.source === post.embed.playlist
|
currentSource?.source === post.embed.playlist
|
||||||
}
|
}
|
||||||
moderation={currentSource.moderation}
|
moderation={currentSource?.moderation}
|
||||||
scrollGesture={scrollGesture}
|
scrollGesture={scrollGesture}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user