Explorar el Código

Set initial page

Tatiana Inama hace 6 años
padre
commit
29754cf14f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: {