Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15274 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15274 Rev 15279
Línea 1... Línea 1...
1
import axios from 'axios'
1
import axios from 'axios'
2
import React, { useEffect } from 'react'
2
import React, { useEffect } from 'react'
3
import { Modal, Button } from 'react-bootstrap'
3
import { Modal } from 'react-bootstrap'
4
import { useForm } from 'react-hook-form'
4
import { useForm } from 'react-hook-form'
5
import { useDispatch } from 'react-redux'
5
import { useDispatch } from 'react-redux'
6
import { addNotification } from '../../../redux/notification/notification.actions'
6
import { addNotification } from '../../../redux/notification/notification.actions'
7
import DropzoneComponent from '../../../shared/Dropzone/DropzoneComponent'
7
import DropzoneComponent from '../../../shared/Dropzone/DropzoneComponent'
Línea 78... Línea 78...
78
						/>
78
						/>
79
					</div>
79
					</div>
80
					{errors.header && <p>Este campo es requerido</p>}
80
					{errors.header && <p>Este campo es requerido</p>}
81
				</Modal.Body>
81
				</Modal.Body>
82
				<Modal.Footer>
82
				<Modal.Footer>
83
					<Button
83
					<button
84
						variant="primary"
84
						className="btn btn-primary"
85
						type="submit"
85
						type="submit"
86
					>
86
					>
87
						Enviar
87
						Enviar
88
					</Button>
88
					</button>
89
					<Button
89
					<button
90
						className='btn-tertiary'
90
						className='btn btn-tertiary'
91
						onClick={closeModal}
91
						onClick={closeModal}
92
					>
92
					>
93
						Cancelar
93
						Cancelar
94
					</Button>
94
					</button>
95
				</Modal.Footer>
95
				</Modal.Footer>
96
			</form>
96
			</form>
97
		</Modal >
97
		</Modal >
98
	)
98
	)
99
}
99
}