diff --git a/src/components/sections/contact-box/ContactSelector.tsx b/src/components/sections/contact-box/ContactSelector.tsx index e9936b78d..01e988a7f 100644 --- a/src/components/sections/contact-box/ContactSelector.tsx +++ b/src/components/sections/contact-box/ContactSelector.tsx @@ -30,9 +30,13 @@ export default function ContactSelector({ const contactPoints = use(contactPointsPromise); const [selectedTag, setSelectedTag] = useState( - contactPoints[0].tagSlug, + contactPoints[0]?.tagSlug, ); + if (!contactPoints.length) { + return null; + } + return (