|  | @@ -1,5 +1,4 @@
 | 
	
		
			
			| 1 |  | -import React, { useEffect, useState, useRef } from 'react'
 | 
	
		
			
			| 2 |  | -import $ from 'jquery'
 | 
	
		
			
			|  | 1 | +import React, { useState, useRef } from 'react'
 | 
	
		
			
			| 3 | 2 |  import { Row, Col } from 'react-bootstrap'
 | 
	
		
			
			| 4 | 3 |  
 | 
	
		
			
			| 5 | 4 |  import RemoveRedEyeIcon from '@mui/icons-material/RemoveRedEye';
 | 
	
	
		
			
			|  | @@ -62,29 +61,20 @@ export function Pruebas() {
 | 
	
		
			
			| 62 | 61 |  
 | 
	
		
			
			| 63 | 62 |      const all = [...inteligencia, ...comportamiento, ...personalidad]
 | 
	
		
			
			| 64 | 63 |  
 | 
	
		
			
			| 65 |  | -    
 | 
	
		
			
			| 66 |  | -    let [nombre, setNombre] = useState(null)
 | 
	
		
			
			| 67 |  | -    let [pruebas, setPruebas] = useState([])
 | 
	
		
			
			|  | 64 | +    let [pruebas, setPruebas] = useState(all)
 | 
	
		
			
			| 68 | 65 |  
 | 
	
		
			
			| 69 | 66 |      let main =  useRef(null);
 | 
	
		
			
			| 70 | 67 |      
 | 
	
		
			
			| 71 |  | -    useEffect(() => {
 | 
	
		
			
			| 72 |  | -        if(pruebas.lenght !==  all.lenght ){
 | 
	
		
			
			| 73 |  | -            console.log(main.current)
 | 
	
		
			
			| 74 |  | -        }
 | 
	
		
			
			| 75 |  | -        setPruebas(all)
 | 
	
		
			
			| 76 |  | -    },[])
 | 
	
		
			
			| 77 |  | - 
 | 
	
		
			
			| 78 | 68 |      return (
 | 
	
		
			
			| 79 | 69 |          <section>
 | 
	
		
			
			| 80 | 70 |              <div className="content-section">
 | 
	
		
			
			| 81 | 71 |                  <div className="main main_pruebas_list">
 | 
	
		
			
			| 82 | 72 |                      <h1>Listado de pruebas psicométricas</h1>
 | 
	
		
			
			| 83 |  | -
 | 
	
		
			
			|  | 73 | +                    {/* <Row style={{ display : 'flex', alignItems: 'baseline' }}> */}
 | 
	
		
			
			| 84 | 74 |                      <Row>
 | 
	
		
			
			| 85 |  | -                        <Col md='9' className="busqueda_prueba">
 | 
	
		
			
			|  | 75 | +                        <Col sm='6' md='8' className="busqueda_prueba">
 | 
	
		
			
			| 86 | 76 |                              <Row>
 | 
	
		
			
			| 87 |  | -                                <Col md="8">
 | 
	
		
			
			|  | 77 | +                                <Col style={{  padding : 0, margin : 0 }} xs='6' sm='6' md="8">
 | 
	
		
			
			| 88 | 78 |                                      <input 
 | 
	
		
			
			| 89 | 79 |                                          onChange={(event) => {
 | 
	
		
			
			| 90 | 80 |                                              let nombre = event.target.value
 | 
	
	
		
			
			|  | @@ -94,29 +84,27 @@ export function Pruebas() {
 | 
	
		
			
			| 94 | 84 |                                                      return isset
 | 
	
		
			
			| 95 | 85 |                                                  })
 | 
	
		
			
			| 96 | 86 |                                                  setPruebas(temp)
 | 
	
		
			
			| 97 |  | -                                                setNombre(nombre)
 | 
	
		
			
			| 98 | 87 |                                              }else{
 | 
	
		
			
			| 99 | 88 |                                                  setPruebas(all)
 | 
	
		
			
			| 100 |  | -                                                setNombre(nombre)
 | 
	
		
			
			| 101 | 89 |                                              }
 | 
	
		
			
			| 102 | 90 |                                          }} 
 | 
	
		
			
			| 103 | 91 |                                          type="text" 
 | 
	
		
			
			| 104 | 92 |                                          name="nombreprueba" 
 | 
	
		
			
			| 105 | 93 |                                          placeholder="Escribe el nombre de la prueba que deseas consultar"/>
 | 
	
		
			
			| 106 | 94 |                                  </Col>
 | 
	
		
			
			| 107 |  | -                                <Col md="4">
 | 
	
		
			
			|  | 95 | +                                <Col style={{ paddinRight : 0 }} xs='6' sm='6' md="4">
 | 
	
		
			
			| 108 | 96 |                                      <div className="buscar_prueba">
 | 
	
		
			
			| 109 | 97 |                                          <button className="btn_buscar_prueba">BUSCAR</button>
 | 
	
		
			
			| 110 | 98 |                                      </div>
 | 
	
		
			
			| 111 | 99 |                                  </Col>
 | 
	
		
			
			| 112 | 100 |                              </Row>
 | 
	
		
			
			| 113 | 101 |                          </Col>
 | 
	
		
			
			| 114 |  | -                        <Col md="3">
 | 
	
		
			
			| 115 |  | -                            <div className="crear_nueva_prueba">
 | 
	
		
			
			| 116 |  | -                                <span 
 | 
	
		
			
			|  | 102 | +                        <Col sm='12' md="4">
 | 
	
		
			
			|  | 103 | +                            <div className="crear_prueba">
 | 
	
		
			
			|  | 104 | +                                <button 
 | 
	
		
			
			| 117 | 105 |                                      onClick={ () =>  navigate('/dashboard/pruebas/crear') } 
 | 
	
		
			
			| 118 |  | -                                    className="btn_crear_prueba">CREAR PRUEBA
 | 
	
		
			
			| 119 |  | -                                </span>
 | 
	
		
			
			|  | 106 | +                                    className="btn_buscar_prueba">CREAR PRUEBA
 | 
	
		
			
			|  | 107 | +                                </button>
 | 
	
		
			
			| 120 | 108 |                              </div>
 | 
	
		
			
			| 121 | 109 |                          </Col>
 | 
	
		
			
			| 122 | 110 |                      </Row>
 |