From 72877204c7424a53ad79f66b35848c207a05388e Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Fri, 23 Jan 2026 21:32:25 +0000 Subject: [PATCH] Update index.tsx Signed-off-by: Charles de Dreuille --- docs-ui/src/components/Changelog/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-ui/src/components/Changelog/index.tsx b/docs-ui/src/components/Changelog/index.tsx index b38972259a..7f671adcb8 100644 --- a/docs-ui/src/components/Changelog/index.tsx +++ b/docs-ui/src/components/Changelog/index.tsx @@ -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 ? ' ' : ''; // Remove **BREAKING**: text from description since we show it as a badge - let description = e.description.replace( + const description = e.description.replace( /\*\*BREAKING\*\*:?\s*/, '', );