fix: fix episodes url on landing page

This commit is contained in:
Hossein Mehrabi 2023-08-30 19:11:31 +03:30
parent f981045c8d
commit 899e7e834b
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1

View File

@ -84,9 +84,10 @@ export const PodcastShowsPreview: React.FC<PodcastShowsPreviewProps> = ({
<div className="podcasts__show-episodes">
<PostsGrid
posts={(show.episodes || []).slice(0, 4)}
posts={(show.episodes || [])
.slice(0, 4)
.map((ep) => ({ ...ep, show }))}
displayPodcastShow={false}
shows={shows}
pattern={[
{
cols: 2,