Sync realm state with profile
cgen-ae3e29567e2e43b0864b827eacbd4d4f
This commit is contained in:
parent
830989a62f
commit
e27f91ee13
1 changed files with 2 additions and 0 deletions
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue