From 37e6df32efb2748cc179fb5357cdb9e6b558f1f1 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 15 Nov 2025 16:44:35 +0000 Subject: [PATCH] completionId: cgen-8e498935f732402c933eb36fd9dee877 cgen-8e498935f732402c933eb36fd9dee877 --- client/pages/dashboards/NexusDashboard.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/client/pages/dashboards/NexusDashboard.tsx b/client/pages/dashboards/NexusDashboard.tsx index f36d6907..766be9f2 100644 --- a/client/pages/dashboards/NexusDashboard.tsx +++ b/client/pages/dashboards/NexusDashboard.tsx @@ -71,6 +71,21 @@ export default function NexusDashboard() { } }, [user, authLoading]); + useEffect(() => { + if (creatorProfile) { + setProfileFormData({ + headline: creatorProfile.headline || "", + bio: creatorProfile.bio || "", + experience_level: creatorProfile.experience_level || "intermediate", + hourly_rate: creatorProfile.hourly_rate?.toString() || "", + availability_status: creatorProfile.availability_status || "available", + availability_hours_per_week: + creatorProfile.availability_hours_per_week?.toString() || "", + skills: Array.isArray(creatorProfile.skills) ? creatorProfile.skills : [], + }); + } + }, [creatorProfile]); + const loadDashboardData = async () => { try { setLoading(true);