Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 390 Rev 391
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);
-
 
39
    };
Línea 36... Línea 40...
36
    const handlePrevious = () => setErrors([]) && setPage(page - 1);
40
 
37
 
41
 
38
    /**
42
    /**
39
     * Continue to the next section
43
     * Continue to the next section
40
     */
44
     */
Línea 41... Línea 45...
41
    const handleNext = () => validateSection() && setPage(page + 1);
45
    const handleNext = () => validateSection() && setPage(page + 1);
Línea 42... Línea 46...
42
 
46
        
43
 
47
 
Línea 69... Línea 73...
69
                        <div className="row">
73
                        <div className="row">
70
                            {errors.length > 0 &&
74
                            {errors.length > 0 &&
71
                                <div className="col-md-12 np-padding">
75
                                <div className="col-md-12 np-padding">
72
                                    {errors.map((error, index) => {
76
                                    {errors.map((error, index) => {
73
                                        return (
77
                                        return (
74
                                            <div class="alert alert-danger" role="alert" key={index}>
78
                                        <div class="alert alert-danger" role="alert" key={index}>
75
                                                {error}
79
                                            {error}
76
                                            </div>);
80
                                        </div>);
77
                                    })}
81
                                    })}
78
                                </div>
82
                                </div>
79
                            }
83
                            }
80
                            <div className="col-md-12 np-padding">
84
                            <div className="col-md-12 np-padding">
81
                                <ul class="wizard">
85
                                <ul class="wizard">