Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 493 Rev 496
Línea 1... Línea 1...
1
import React, { useState } from 'react'
1
import React, { useState } from 'react'
2
import { useForm } from 'react-hook-form'
2
import Datetime from 'react-datetime'
3
import { useDispatch, useSelector } from 'react-redux'
-
 
4
import { axios } from '../../utils'
3
import { axios } from '../../utils'
5
import { addNotification } from '../../redux/notification/notification.actions'
-
 
6
import { Modal } from 'react-bootstrap'
4
import { Modal } from 'react-bootstrap'
7
import Datetime from 'react-datetime'
5
import { useForm } from 'react-hook-form'
8
import FormErrorFeedback from '../UI/FormErrorFeedback'
6
import { useDispatch, useSelector } from 'react-redux'
-
 
7
import { addNotification } from 'store/notification/notification.actions'
-
 
8
 
9
import useFetchHelper from '../../hooks/useFetchHelper'
9
import useFetchHelper from 'hooks/useFetchHelper'
-
 
10
import FormErrorFeedback from 'components/UI/FormErrorFeedback'
10
import 'react-datetime/css/react-datetime.css'
11
import 'react-datetime/css/react-datetime.css'
Línea 11... Línea 12...
11
 
12
 
12
const ConferenceModal = ({
13
const ConferenceModal = ({
13
  show = false,
14
  show = false,
Línea 99... Línea 100...
99
    <Modal show={show} onHide={onClose}>
100
    <Modal show={show} onHide={onClose}>
100
      <Modal.Header closeButton>
101
      <Modal.Header closeButton>
101
        <Modal.Title>{labels.create_conference}</Modal.Title>
102
        <Modal.Title>{labels.create_conference}</Modal.Title>
102
      </Modal.Header>
103
      </Modal.Header>
103
      <Modal.Body>
104
      <Modal.Body>
104
        <form onSubmit={onSubmit} autoComplete="off">
105
        <form onSubmit={onSubmit}>
105
          <div className="form-group">
106
          <div className="form-group">
106
            <label htmlFor="first_name">Título</label>
107
            <label htmlFor="first_name">Título</label>
107
            <input
108
            <input
108
              type="text"
109
              type="text"
109
              name="title"
110
              name="title"