Explorar o código

Reset the screen initial index to zero

MGTKenYCS hai 1 ano
pai
achega
a33df9cb1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      component/registrationMultiStepForm/formComponent/form.tsx

+ 1 - 1
component/registrationMultiStepForm/formComponent/form.tsx

@@ -22,7 +22,7 @@ import ChooseCarModel from './formPages/chooseCarPage/carModel';
 
 type FormProps = {};
 const Form: React.FC<FormProps> = ({}) => {
-    const [screen, setScreen] = useState<number>(4);
+    const [screen, setScreen] = useState<number>(0);
     const FormTitle = [
         '',
         '註冊 - 電話驗證',