Skip to content

Commit

Permalink
chore: stop latest release name from changing on client load
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Dec 14, 2023
1 parent 9da6384 commit 5e6ff01
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[0].label = `${releaseOptions[0].label} (latest)`;
releaseOptions[0].label = `v${releaseOptions[0].label} (latest)`;
releaseOptions[0].value = "";

setOptions([{ label: "canary", value: "canary" }, ...releaseOptions]);
Expand Down

0 comments on commit 5e6ff01

Please sign in to comment.