design: add I'm not sure skip button to product archetype onboarding page
This commit is contained in:
@@ -370,6 +370,10 @@ export function EntrepreneurPath({
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
canNext = !!data.productType;
|
canNext = !!data.productType;
|
||||||
|
onSkip = () => {
|
||||||
|
onUpdate({ productType: "not_sure" });
|
||||||
|
next();
|
||||||
|
};
|
||||||
} else if (step === 1) {
|
} else if (step === 1) {
|
||||||
body = (
|
body = (
|
||||||
<EntrepIdea
|
<EntrepIdea
|
||||||
@@ -413,7 +417,7 @@ export function EntrepreneurPath({
|
|||||||
nextLabel={step === ENTREP_TOTAL - 1 ? "Build →" : "Continue"}
|
nextLabel={step === ENTREP_TOTAL - 1 ? "Build →" : "Continue"}
|
||||||
hint={canNext ? "⌘↵" : null}
|
hint={canNext ? "⌘↵" : null}
|
||||||
onSkip={onSkip}
|
onSkip={onSkip}
|
||||||
skipLabel="Pick for me"
|
skipLabel={step === 0 ? "I'm not sure" : "Pick for me"}
|
||||||
/>
|
/>
|
||||||
</WizardBody>
|
</WizardBody>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user