fix: form steps

This commit is contained in:
IlyaDoronin 2023-10-16 12:35:04 +03:00
parent a0b9aeb191
commit 833b87319f
2 changed files with 1 additions and 5 deletions

@ -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: