Add RealmSelection rendering logic to Onboarding
cgen-c0102286e9cf4b679525360cd7630c32
This commit is contained in:
parent
63e0ca85de
commit
f6a00ba697
1 changed files with 10 additions and 0 deletions
|
|
@ -509,6 +509,16 @@ export default function Onboarding() {
|
||||||
isFinishing={isFinishing}
|
isFinishing={isFinishing}
|
||||||
achievement={achievementPreview ?? undefined}
|
achievement={achievementPreview ?? undefined}
|
||||||
/>
|
/>
|
||||||
|
) : steps[currentStep].title === "Choose Your Realm" ? (
|
||||||
|
<RealmSelection
|
||||||
|
selectedRealm={data.creatorProfile.primaryArm || ""}
|
||||||
|
onSelect={(realm) =>
|
||||||
|
updateData({
|
||||||
|
creatorProfile: { ...data.creatorProfile, primaryArm: realm },
|
||||||
|
})
|
||||||
|
}
|
||||||
|
onNext={nextStep}
|
||||||
|
/>
|
||||||
) : (
|
) : (
|
||||||
<CurrentStepComponent
|
<CurrentStepComponent
|
||||||
data={data}
|
data={data}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue