mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 00:05:09 +01: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 New Issue
Block a user