Update index.tsx

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2026-01-23 21:32:25 +00:00
parent 2f709e15ab
commit 72877204c7
+2 -2
View File
@@ -45,7 +45,7 @@ export function Changelog() {
const toTitleCase = (kebabCase: string) => {
return kebabCase
.split('-')
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
.map(word => word.charAt(0).toLocaleUpperCase('en-US') + word.slice(1))
.join(' ');
};
@@ -127,7 +127,7 @@ export function Changelog() {
const breakingBadge = e.breaking ? '<BreakingBadge /> ' : '';
// Remove **BREAKING**: text from description since we show it as a badge
let description = e.description.replace(
const description = e.description.replace(
/\*\*BREAKING\*\*:?\s*/,
'',
);