Skip to content

Commit

Permalink
Merge pull request #938 from jeanpierm/fix-boxer-href
Browse files Browse the repository at this point in the history
fix: fixed /boxers/[id]/ -> /boxers/[id]/[id]
  • Loading branch information
midudev authored May 6, 2024
2 parents a1ace34 + 983477b commit 466075a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BoxerDetailInfoRival.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const isVersus = value[0].versus.length === 2
`${isVersus ? "mx-2 p-1" : ""}`,
`${isKingOfTheTrack ? "p-1" : "boxer-link text-xl font-bold text-accent"}`,
]}
href={item.id}
href={`/boxers/${item.id}`}
title={`Visita la página ${item.gender === "masculino" ? "del boxeador" : "de la boxeadora"} ${item.name}`}
id={id + (index + 1)}
>
Expand Down

0 comments on commit 466075a

Please sign in to comment.