From d84d4d4982603cd04ab1507bab7b61236eb0dc25 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 14 Oct 2025 04:09:18 +0000 Subject: [PATCH] Use safe profile website extraction cgen-26390dfba2284ef8beb8e3721e9f002a --- client/pages/Opportunities.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/pages/Opportunities.tsx b/client/pages/Opportunities.tsx index ff9309fd..856dd8af 100644 --- a/client/pages/Opportunities.tsx +++ b/client/pages/Opportunities.tsx @@ -178,6 +178,11 @@ const Opportunities = () => { const [submittingContributor, setSubmittingContributor] = useState(false); const [submittingCareer, setSubmittingCareer] = useState(false); + const profileWebsite = + profile && typeof (profile as any).website_url === "string" + ? ((profile as any).website_url as string) + : ""; + const [contributorForm, setContributorForm] = useState({ fullName: "", email: "",