瀏覽代碼

Reset the screen initial index to zero

MGTKenYCS 1 年之前
父節點
當前提交
a33df9cb1b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = [
         '',
         '註冊 - 電話驗證',