Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1460 Rev 1461
Línea 1... Línea 1...
1
import React, { useEffect, useState } from 'react'
1
import React, { useEffect, useState } from 'react'
2
import { useDispatch, useSelector } from 'react-redux'
2
import { useDispatch, useSelector } from 'react-redux'
3
import { useForm } from 'react-hook-form'
3
import { useForm } from 'react-hook-form'
4
import { CKEditor } from 'ckeditor4-react'
4
import { CKEditor } from 'ckeditor4-react'
5
import { Form } from 'react-bootstrap'
5
import { Form } from 'react-bootstrap'
-
 
6
import { Box } from '@mui/material'
Línea 6... Línea 7...
6
 
7
 
7
import { CKEDITOR_OPTIONS, axios } from 'utils/index'
8
import { CKEDITOR_OPTIONS, axios } from 'utils/index'
Línea 8... Línea 9...
8
import { addNotification } from '../../redux/notification/notification.actions'
9
import { addNotification } from '../../redux/notification/notification.actions'
Línea 157... Línea 158...
157
      />
158
      />
158
      {errors.description && (
159
      {errors.description && (
159
        <FormErrorFeedback>{labels.error_field_empty}</FormErrorFeedback>
160
        <FormErrorFeedback>{labels.error_field_empty}</FormErrorFeedback>
160
      )}
161
      )}
Línea -... Línea 162...
-
 
162
 
161
 
163
      <Box mt={2}>
162
      <TagsInput
164
        <TagsInput
163
        suggestions={questionsCategories}
165
          suggestions={questionsCategories}
164
        settedTags={currentCategories}
166
          settedTags={currentCategories}
165
        onChange={onTagsChange}
167
          onChange={onTagsChange}
-
 
168
        />
Línea 166... Línea 169...
166
      />
169
      </Box>
167
 
170
 
168
      {loading && <Spinner />}
171
      {loading && <Spinner />}
169
    </Modal>
172
    </Modal>