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
Fixed share page.
Mike Cao5feae93162a5
diff --git a/src/app/share/[...shareId]/SharePage.tsx b/src/app/share/[...shareId]/SharePage.tsxindex 4ac6af378..c4d9af62d 100644--- a/src/app/share/[...shareId]/SharePage.tsx+++ b/src/app/share/[...shareId]/SharePage.tsx@@ -5,6 +5,7 @@ import Page from 'components/layout/Page';import Header from './Header';import Footer from './Footer';import styles from './SharePage.module.css';+import { WebsiteProvider } from 'app/(main)/websites/[websiteId]/WebsiteProvider';export default function SharePage({ shareId }) {const { shareToken, isLoading } = useShareToken(shareId);@@ -17,7 +18,9 @@ export default function SharePage({ shareId }) {<div className={styles.container}><Page><Header />- <WebsiteDetailsPage websiteId={shareToken.websiteId} />+ <WebsiteProvider websiteId={shareToken.websiteId}>+ <WebsiteDetailsPage websiteId={shareToken.websiteId} />+ </WebsiteProvider><Footer /></Page></div>