Fix tracking-code intl message not rendering due to unescaped HTML tags

This commit is contained in:
Mike Cao
2026-03-20 11:41:50 -07:00
parent 0a4dcebed7
commit 8227a99c0a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -419,7 +419,7 @@
"team-already-member": "You are already a member of the team.",
"team-not-found": "Team not found.",
"team-websites-info": "Websites can be viewed by anyone on the team.",
"tracking-code": "To track stats for this website, place the following code in the <head>...</head> section of your HTML.",
"tracking-code": "To track stats for this website, place the following code in the '<head>...</head>' section of your HTML.",
"transfer-team-website-to-user": "Transfer this website to your account?",
"transfer-user-website-to-team": "Select the team to transfer this website to.",
"transfer-website": "Transfer website ownership to your account or another team.",
@@ -16,14 +16,14 @@ const KEY_NAME = 'umami.replays.tab';
export function ReplaysPage({ websiteId }: { websiteId: string }) {
const [tab, setTab] = useState(getItem(KEY_NAME) || 'replays');
const { t, labels, messages } = useMessages();
const { hasFeature, hasSubscription, cloudMode } = useSubscription();
const { hasFeature, cloudMode } = useSubscription();
const handleSelect = (value: Key) => {
setItem(KEY_NAME, value);
setTab(value);
};
if (cloudMode && hasSubscription && !hasFeature('replays')) {
if (cloudMode && !hasFeature('replays')) {
return (
<Column gap="3">
<Panel>