Línea 8... |
Línea 8... |
8 |
import { useDispatch } from 'react-redux'
|
8 |
import { useDispatch } from 'react-redux'
|
9 |
import { addNotification } from '../../../../../../redux/notification/notification.actions'
|
9 |
import { addNotification } from '../../../../../../redux/notification/notification.actions'
|
10 |
import { Modal } from 'react-bootstrap'
|
10 |
import { Modal } from 'react-bootstrap'
|
11 |
import ImageModal from '../../../../../../shared/profile/edit/profile-info/profile-img/ImageModal'
|
11 |
import ImageModal from '../../../../../../shared/profile/edit/profile-info/profile-img/ImageModal'
|
12 |
import { profileTypes } from '../../../../../../shared/profile/Profile.types'
|
12 |
import { profileTypes } from '../../../../../../shared/profile/Profile.types'
|
- |
|
13 |
import { coverTypes } from '../../../../../../shared/cover/cover.types'
|
13 |
import CoverModal from '../../../../../../shared/cover/CoverModal'
|
14 |
import CoverModal from '../../../../../../shared/cover/CoverModal'
|
14 |
import OverviewModal from '../../../../../components/overview/OverviewModal'
|
15 |
import OverviewModal from '../../../../../components/overview/OverviewModal'
|
15 |
import ConfirmModal from '../../../../../../shared/confirm-modal/ConfirmModal'
|
16 |
import ConfirmModal from '../../../../../../shared/confirm-modal/ConfirmModal'
|
Línea 16... |
Línea 17... |
16 |
|
17 |
|
Línea 225... |
Línea 226... |
225 |
closeModal={() => closeModal()}
|
226 |
closeModal={() => closeModal()}
|
226 |
setOverview={(newOverview) => setSettedOverview(newOverview)}
|
227 |
setOverview={(newOverview) => setSettedOverview(newOverview)}
|
227 |
/>
|
228 |
/>
|
228 |
<CoverModal
|
229 |
<CoverModal
|
229 |
isOpen={modalToShow === 'cover'}
|
230 |
isOpen={modalToShow === 'cover'}
|
230 |
type={profileTypes.USER}
|
231 |
type={coverTypes.USER}
|
231 |
size={imageSizeCover}
|
232 |
size={imageSizeCover}
|
232 |
id={userIdEncrypted}
|
233 |
id={userIdEncrypted}
|
233 |
onClose={() => closeModal()}
|
234 |
onClose={() => closeModal()}
|
234 |
onComplete={(newImage) => setCoverImg(newImage)}
|
235 |
onComplete={(newImage) => setCoverImg(newImage)}
|
235 |
/>
|
236 |
/>
|