fix: the order of podcast shows on /podcasts page

This commit is contained in:
Hossein Mehrabi 2024-01-31 18:09:24 +03:30
parent d1745dcd64
commit 5fe5e363a0
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export const getStaticProps = async ({ params }: GetStaticPropsContext) => {
return {
props: {
shows: podcastShows,
shows: podcastShows.sort((a, b) => (a.title > b.title ? -1 : 1)),
latestEpisodes: latestEpisodes.data,
highlightedEpisodes: highlightedEpisodes.data,
// errors,