midudev / kings-league-project

API y website de la Kings League Infojobs por temas didácticos
https://kingsleague.dev
MIT License
1.52k stars 224 forks source link

Fix: Broken links on `ScheduleRow` component. #252

Closed PChaparro closed 1 year ago

PChaparro commented 1 year ago

Fix #240 and #259.

Fix jijantes-fc and xbuyer-team broken links.

Explanation: Doesn't replace the id field to avoid broke the team logo, instead, create the "page" field in each team. The value for the new field is taken from the /teams endpoint.

New object example (Note that the id and page field are different):

{
  id: 'jijantes',
  name: 'Jijantes FC',
  shortName: 'JFC',
  page: 'jijantes-fc'
}