diff --git a/src/pages/event.js b/src/pages/event.js index 24ec359..5dcd744 100644 --- a/src/pages/event.js +++ b/src/pages/event.js @@ -120,7 +120,7 @@ export function Event() { }, []); useEffect(() => { - if (succeededLoadingEvent() && !tableIsLoading) { + if (succeededLoadingEvent() && !tableIsLoading && event && event?.name) { trackPageView({ href: window.location.href, documentTitle: `POAP Gallery - Event - ${event.name}`,