ソースを参照

Set initial page

Tatiana Inama 6 年 前
コミット
29754cf14f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/App.tsx

+ 1 - 1
src/App.tsx

@@ -60,7 +60,7 @@ type AnswersData = {
 };
 
 const App = () => {
-  const [ currentPage, setCurrentPage ] = useState(3);
+  const [ currentPage, setCurrentPage ] = useState(0);
   const [ exit, setExit ] = useState(false);
   const [ answers, saveAnswers ] = useState<AnswersData>({
     personalInformation: {