Kaynağa Gözat

Set initial page

Tatiana Inama 6 yıl önce
ebeveyn
işleme
29754cf14f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/App.tsx

+ 1 - 1
src/App.tsx

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