Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1974 Rev 1975
Línea 36... Línea 36...
36
            setLoading(false)
36
            setLoading(false)
37
        }
37
        }
38
    }
38
    }
Línea 39... Línea 39...
39
 
39
 
-
 
40
    const CloseAccountContent = () => {
40
    const CloseAccountContent = () => {
41
        if(showInputCode){
41
        return <form onSubmit={handleSubmit}>
42
            return <form onSubmit={handleSubmit}>
42
            <div className="form-group">
43
                <div className="form-group">
43
                <label htmlFor="exampleInputEmail1">Ingrese el codigo</label>
44
                    <label htmlFor="exampleInputEmail1">Ingrese el codigo</label>
44
                <input type="email" className="form-control" id="exampleInputEmail1" />
45
                    <input type="email" className="form-control" id="exampleInputEmail1" />
45
                <small id="emailHelp" className="form-text text-muted">Este codigo fue enviado a tu correo electrónico.</small>
46
                    <small id="emailHelp" className="form-text text-muted">Este codigo fue enviado a tu correo electrónico.</small>
46
            </div>
47
                </div>
47
            <button type="submit" className="btn btn-primary">Enviar</button>
48
                <button type="submit" className="btn btn-primary">Enviar</button>
48
        </form>
-
 
49
        // if(showInputCode){
49
            </form>
50
        // }else{
50
        }else{
51
        //     return <>
51
            return <>
52
        //         <h1>¿Esta seguro de eliminar su cuenta?</h1>
52
                <h1>¿Esta seguro de eliminar su cuenta?</h1>
53
        //         <div className="row">
53
                <div className="row">
54
        //             <div className='col-md col-sm-12'>
54
                    <div className='col-md col-sm-12'>
55
        //                 <button className="btn btn-primary" onClick={handleGetCode} disabled={showInputCode}>Si, estoy seguro</button>
55
                        <button className="btn btn-primary" onClick={handleGetCode} disabled={showInputCode}>Si, estoy seguro</button>
56
        //             </div>
56
                    </div>
57
        //             <div className='col-md col-sm-12'>
57
                    <div className='col-md col-sm-12'>
58
        //                 <button className="btn btn-primary" disabled={showInputCode}>No</button>
58
                        <button className="btn btn-primary" disabled={showInputCode}>No</button>
59
        //             </div>
59
                    </div>
60
        //         </div>
60
                </div>
61
        //     </>
61
            </>
62
        // }
62
        }
63
    }
63
    }
64
    return (
64
    return (
65
        <div className="acc-setting h-100" style={{ position: "relative" }}>
65
        <div className="acc-setting h-100" style={{ position: "relative" }}>
66
            <div className="container">
66
            <div className="container">