Línea 1... |
Línea 1... |
1 |
import React, { useState, useRef, useEffect } from 'react'
|
1 |
import React, { useState, useRef, useEffect } from 'react'
|
2 |
import { axios } from '../../utils'
|
2 |
import { axios } from '../../utils'
|
3 |
import { getMonthName } from '../../utils/dates'
|
3 |
import { getMonthName } from '../../utils/dates'
|
4 |
import { useDispatch, useSelector } from 'react-redux'
|
4 |
import { useDispatch, useSelector } from 'react-redux'
|
5 |
import { addNotification } from '../../redux/notification/notification.actions'
|
5 |
import { addNotification } from '../../redux/notification/notification.actions'
|
- |
|
6 |
import parse from 'html-react-parser'
|
6 |
import AddIcon from '@mui/icons-material/Add'
|
7 |
import AddIcon from '@mui/icons-material/Add'
|
7 |
import EditIcon from '@mui/icons-material/Edit'
|
8 |
import EditIcon from '@mui/icons-material/Edit'
|
8 |
import DeleteIcon from '@mui/icons-material/Delete'
|
9 |
import DeleteIcon from '@mui/icons-material/Delete'
|
9 |
import IconButton from '@mui/material/IconButton'
|
10 |
import IconButton from '@mui/material/IconButton'
|
Línea 125... |
Línea 126... |
125 |
</p>
|
126 |
</p>
|
126 |
<p>{`${experience.industry.name || experience.industry} / ${
|
127 |
<p>{`${experience.industry.name || experience.industry} / ${
|
127 |
experience.size
|
128 |
experience.size
|
128 |
}`}</p>
|
129 |
}`}</p>
|
129 |
<p>{experience.formatted_address}</p>
|
130 |
<p>{experience.formatted_address}</p>
|
- |
|
131 |
{experience.description && parse(experience.description)}
|
130 |
</div>
|
132 |
</div>
|
131 |
<ConfirmModal
|
133 |
<ConfirmModal
|
132 |
show={isShow}
|
134 |
show={isShow}
|
133 |
onClose={toggleConfirmModal}
|
135 |
onClose={toggleConfirmModal}
|
134 |
onAccept={() => onDelete(experience.link_delete)}
|
136 |
onAccept={() => onDelete(experience.link_delete)}
|