mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 23:36:06 +00:00
Update Seasons.tsx
This commit is contained in:
parent
459223a030
commit
118ba05ee6
|
@ -75,7 +75,7 @@ export function Seasons(props: SeasonsProps) {
|
|||
|
||||
const mapSeason = (season: MWMediaSeason) => ({
|
||||
id: season.id,
|
||||
name: season.title || `${t('seasons.season')} ${season.sort}`,
|
||||
name: season.title || `${t('seasons.season', { season: season.sort })}`,
|
||||
});
|
||||
|
||||
const options = seasons.seasons.map(mapSeason);
|
||||
|
|
Loading…
Reference in a new issue