Browse Source

Set initial page

Tatiana Inama 6 năm trước cách đây
mục cha
commit
29754cf14f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: {