Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1870 Rev 2835
Línea 2... Línea 2...
2
import { styled } from '@mui/material'
2
import { styled } from '@mui/material'
Línea 3... Línea 3...
3
 
3
 
4
import Modal from '../UI/modal/Modal'
4
import Modal from '../UI/modal/Modal'
5
import Feed, { renderContent } from '../dashboard/linkedin/feed-template/Feed'
5
import Feed, { renderContent } from '../dashboard/linkedin/feed-template/Feed'
-
 
6
import WidgetWrapper from '../widgets/WidgetLayout'
Línea 6... Línea 7...
6
import WidgetWrapper from '../widgets/WidgetLayout'
7
import { useSelector } from 'react-redux'
7
 
8
 
8
const StyledBody = styled(WidgetWrapper.Body)`
9
const StyledBody = styled(WidgetWrapper.Body)`
9
  & > p,
10
  & > p,
Línea 23... Línea 24...
23
    display: block;
24
    display: block;
24
    max-height: 80vh;
25
    max-height: 80vh;
25
  }
26
  }
26
`
27
`
Línea 27... Línea 28...
27
 
28
 
-
 
29
const FeedModal = ({ show = false, onClose = () => {}, id }) => {
28
const FeedModal = ({ show = false, onClose = () => {}, feed = {} }) => {
30
  const feed = useSelector(({ feed }) => feed.feeds.byId[id])
29
  const {
31
  const {
30
    owner_file_image,
32
    owner_file_image,
31
    owner_file_video,
33
    owner_file_video,
32
    owner_file_image_preview,
34
    owner_file_image_preview,