Open skardtechDeveloper opened 1 month ago
<FlatList
data={posts}
keyExtractor={(item) => item.$id}
renderItem={({ item, index }) => <VideoCard key={index} video={item} />}
You should try to add a index as a key like this.
key={index} when you are mapping anything out. Which is the <VideoCard? by the looks of it, so the key={index} is required by its parent
I got an error in home.jsx in flatlist.