Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

don't add new vs returning to title

Chris Rimmer95da3cc1a978
diff --git a/client/src/app/[site]/main/components/MainSection/MainSection.tsx b/client/src/app/[site]/main/components/MainSection/MainSection.tsx
index 3a0902750..88670c265 100644
--- a/client/src/app/[site]/main/components/MainSection/MainSection.tsx
+++ b/client/src/app/[site]/main/components/MainSection/MainSection.tsx
@@ -73,8 +73,6 @@ export function MainSection() {
const maxOfDataAndPreviousData = Math.max(getMaxValue(data), getMaxValue(previousData));
- const statLabel = `${SELECTED_STAT_MAP[selectedStat]}${showUserBreakdown ? " (new vs returning)" : ""}`;
-
return (
<>
<Card>
@@ -97,7 +95,7 @@ export function MainSection() {
</Link>
</div>
<span className="absolute left-1/2 -translate-x-1/2 text-sm text-neutral-700 dark:text-neutral-200">
- {statLabel}
+ {SELECTED_STAT_MAP[selectedStat]}
</span>
<div className="flex items-center gap-3">
{selectedStat === "users" && (