From e16aea5fb75db221cdbd219ff152205023613c5a Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 15 Nov 2025 16:50:11 +0000 Subject: [PATCH] completionId: cgen-bc1c187d26f9422aa80873213ada90ac cgen-bc1c187d26f9422aa80873213ada90ac --- client/components/onboarding/CreatorProfile.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/components/onboarding/CreatorProfile.tsx b/client/components/onboarding/CreatorProfile.tsx index 95495fdd..46c0991e 100644 --- a/client/components/onboarding/CreatorProfile.tsx +++ b/client/components/onboarding/CreatorProfile.tsx @@ -72,10 +72,12 @@ export default function CreatorProfile({ totalSteps, }: CreatorProfileProps) { const [inputValue, setInputValue] = useState(""); - const creatorData = data?.creatorProfile || { - bio: "", - skills: [], - primaryArm: "", + const creatorData = { + bio: data?.creatorProfile?.bio || "", + skills: Array.isArray(data?.creatorProfile?.skills) + ? data.creatorProfile.skills + : [], + primaryArm: data?.creatorProfile?.primaryArm || "", }; const canProceed = useMemo(() => {