diff --git a/app/pages/events/$id.mjs b/app/pages/events/$id.mjs index 36feae1..b48ccaf 100644 --- a/app/pages/events/$id.mjs +++ b/app/pages/events/$id.mjs @@ -4,7 +4,17 @@ export default function ({ html, state = {} }) { let { store = {} } = state let event = store.events[0] let display = store.display - let { id, title, sponsors, talks, description, date } = event + let DEFAULT_LOCATION = "The Collective Seattle, 400 Dexter Ave N, Seattle, WA 98109" + let { + id, + title, + sponsors, + talks, + description, + date, + location=DEFAULT_LOCATION + } = event + let hasTalks = talks && talks.length > 0 let hasSponsors = sponsors && sponsors.length > 0 if (display === "email") { @@ -30,7 +40,7 @@ export default function ({ html, state = {} }) {