The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fixed application error
Steven Teyb80a0cf4fc5b
diff --git a/components/stats/toggle.tsx b/components/stats/toggle.tsxindex 090959dfaa..4040cf2142 100644--- a/components/stats/toggle.tsx+++ b/components/stats/toggle.tsx@@ -132,9 +132,10 @@ const SharePopover = ({ domain }: { domain: string }) => {}}, [slug]);- const {- data: { publicStats },- } = useSWR<{ publicStats: boolean }>(endpoint, fetcher);+ const { data: { publicStats } = {} } = useSWR<{ publicStats: boolean }>(+ endpoint,+ fetcher,+ );const handleChange = async () => {toast.promise(