Skip to content

Commit

Permalink
fix(channel): use updated attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibbp committed Jul 1, 2023
1 parent 0da4566 commit f8e9914
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/pages/channels/[channelName].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,24 @@ const ChannelPage = (props: any) => {
]}
>
{data.data.map((video: Video) => {
return <VideoCard video={video} playback={playbackData} />;
return (
<VideoCard
key={video.id}
video={video}
playback={playbackData}
/>
);
})}
</SimpleGrid>
</div>
<Center mt={5}>
<div>
<Pagination
page={activePage}
value={activePage}
onChange={setPage}
total={data.pages}
color="violet"
withEdges
/>
<Center mt={5} mb={20}>
<Group spacing={5}>
Expand Down

0 comments on commit f8e9914

Please sign in to comment.