Explorar el Código

Reset the screen initial index to zero

MGTKenYCS hace 1 año
padre
commit
a33df9cb1b
Se han modificado 1 ficheros con 1 adiciones y 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 = [
         '',
         '註冊 - 電話驗證',