diff --git a/client/src/pages/CreateEventPage/CompleteCreateEventPage.tsx b/client/src/pages/CreateEventPage/CompleteCreateEventPage.tsx index d9c4f6bce..d33f5b6e7 100644 --- a/client/src/pages/CreateEventPage/CompleteCreateEventPage.tsx +++ b/client/src/pages/CreateEventPage/CompleteCreateEventPage.tsx @@ -18,7 +18,7 @@ const CompleteCreateEventPage = () => { const {showToast} = useToast(); - const homePageUrl = getEventPageUrlByEnvironment(url, 'home'); + const homePageUrl = getEventPageUrlByEnvironment(eventId ?? '', 'home'); return (