fix: form steps
This commit is contained in:
parent
a0b9aeb191
commit
833b87319f
@ -44,10 +44,7 @@ export default function StepOne() {
|
||||
onClick={() => {
|
||||
let SPageClone = listQuizes[params].config;
|
||||
SPageClone.type = "form";
|
||||
updateQuizesList(params, {
|
||||
config: SPageClone,
|
||||
step: listQuizes[params].step + 1,
|
||||
});
|
||||
updateQuizesList(params, { config: SPageClone });
|
||||
}}
|
||||
>
|
||||
<CreationCard
|
||||
|
||||
@ -25,7 +25,6 @@ export default function SwitchStepPages({
|
||||
switch (activeStep) {
|
||||
case 1:
|
||||
if (!quizType) return <StepOne />;
|
||||
if (quizType === "form") return <></>;
|
||||
if (!startpage) return <Steptwo />;
|
||||
return <StartPageSettings />;
|
||||
case 2:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user