Skip to content

Commit

Permalink
chore: fix typo in latest release in release switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Dec 19, 2023
1 parent 5e80a10 commit 17bd61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/components/ReleaseSwitcher/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const ReleaseSwitcher = ({
value: key,
}));

releaseOptions[1].label = `v${releaseOptions[0].label} (latest)`;
releaseOptions[1].label = `v${releaseOptions[1].label} (latest)`;
releaseOptions[1].value = ""; // Okay to set to "" because isLatest will be true for this release option

setOptions(releaseOptions);
Expand Down

1 comment on commit 17bd61c

@vercel
Copy link

@vercel vercel bot commented on 17bd61c Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.