fix: the order of podcast shows on /podcasts page
This commit is contained in:
parent
d1745dcd64
commit
5fe5e363a0
|
@ -66,7 +66,7 @@ export const getStaticProps = async ({ params }: GetStaticPropsContext) => {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
shows: podcastShows,
|
shows: podcastShows.sort((a, b) => (a.title > b.title ? -1 : 1)),
|
||||||
latestEpisodes: latestEpisodes.data,
|
latestEpisodes: latestEpisodes.data,
|
||||||
highlightedEpisodes: highlightedEpisodes.data,
|
highlightedEpisodes: highlightedEpisodes.data,
|
||||||
// errors,
|
// errors,
|
||||||
|
|
Loading…
Reference in New Issue