Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
remove duplicate logos and names on sharepage
Francis Caodaccd22ab23e
diff --git a/src/app/share/[...shareId]/SharePage.tsx b/src/app/share/[...shareId]/SharePage.tsxindex 95c2cdac2..35d44c7ab 100644--- a/src/app/share/[...shareId]/SharePage.tsx+++ b/src/app/share/[...shareId]/SharePage.tsx@@ -96,8 +96,6 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri}const { websiteId, parameters = {}, whiteLabel } = shareToken;- const logoName = whiteLabel?.name || 'umami';- const logoImage = whiteLabel?.image;// Redirect to only allowed section - return null while redirectingif (@@ -128,16 +126,6 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: strireturn <ShareNav shareId={shareId} parameters={parameters} onItemClick={close} />;}}</MobileMenuButton>- <Row alignItems="center" justifyContent="center" gap>- {whiteLabel?.image ? (- <img src={logoImage} alt={logoName} style={{ height: 24 }} />- ) : (- <Icon>- <Logo />- </Icon>- )}- <Text weight="bold">{logoName}</Text>- </Row></Grid></Row><Column