Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 388 | Rev 390 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 388 Rev 389
Línea 31... Línea 31...
31
 
31
 
32
    /**
32
    /**
33
     * Return to previous section
33
     * Return to previous section
34
     * @returns 
34
     * @returns 
35
     */
35
     */
-
 
36
    const handlePrevious = () => {
-
 
37
        setErrors([]);
-
 
38
        setPage(page - 1)
Línea 36... Línea 39...
36
    const handlePrevious = () => setPage(page - 1);
39
    };
37
 
40
 
38
 
41
 
39
    /**
-
 
40
     * Continue to the next section
-
 
41
     */
-
 
42
    const handleNext = () =>{
42
    /**
43
 
-
 
44
        if(validateSection()){
-
 
45
            setPage(page + 1);
-
 
46
            setErrors([]);
-
 
Línea 47... Línea 43...
47
        }
43
     * Continue to the next section
Línea 48... Línea 44...
48
 
44
     */