Skip to content

Commit

Permalink
Ensure values are retrieved for SEO title and description display names
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina committed Sep 18, 2024
1 parent da01288 commit 9cc700b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/user/[id]/head-to-head/[otherId].astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export async function getStaticPaths() {
}
const { id, otherId } = Astro.params;
const userIds = [id, otherId];
const title = `Head To Head Matchup: ${userIdToNameMap.get(id)} versus ${userIdToNameMap.get(otherId)}`;
const description = `Subession result comparison between ${userIdToNameMap.get(id)} and ${userIdToNameMap.get(otherId)}`;
const title = `Head To Head Matchup: ${userIdToNameMap.get(Number(id))} versus ${userIdToNameMap.get(Number(otherId))}`;
const description = `Subession result comparison between ${userIdToNameMap.get(Number(id))} and ${userIdToNameMap.get(Number(otherId))}`;
---

<SharedSubsessionsLayout {title} {description} {userIds} />

0 comments on commit 9cc700b

Please sign in to comment.