Sync realm state with profile

cgen-ae3e29567e2e43b0864b827eacbd4d4f
This commit is contained in:
Builder.io 2025-09-30 21:27:32 +00:00
parent 830989a62f
commit e27f91ee13

View file

@ -218,6 +218,8 @@ export default function Dashboard() {
setLinkedin(profile?.linkedin_url || "");
setGithub(profile?.github_url || "");
setTwitter(profile?.twitter_url || "");
setUserRealm(((profile as any)?.user_type as RealmKey) ?? null);
setExperienceLevel((profile as any)?.experience_level || "beginner");
if (profile) computeProfileCompletion(profile);
}, [profile]);