diff --git a/pages/availability/event/[type].tsx b/pages/availability/event/[type].tsx index 8c203be0..129be9fc 100644 --- a/pages/availability/event/[type].tsx +++ b/pages/availability/event/[type].tsx @@ -242,7 +242,7 @@ export default function EventType(props) {
- {location.hostname}/{props.user.username}/ + {typeof location !== "undefined" ? location.hostname : ""}/{props.user.username}/