Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1404 Rev 1406
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { useDispatch } from 'react-redux'
2
import { useDispatch } from 'react-redux'
-
 
3
import { Box } from '@mui/material'
3
import parse from 'html-react-parser'
4
import parse from 'html-react-parser'
Línea 4... Línea 5...
4
 
5
 
5
import { axios } from '@app/utils'
6
import { axios } from '@app/utils'
Línea 33... Línea 34...
33
      })
34
      })
34
  }
35
  }
Línea 35... Línea 36...
35
 
36
 
36
  return (
37
  return (
37
    <Modal title={event?.title} show={show} onClose={onClose}>
38
    <Modal title={event?.title} show={show} onClose={onClose}>
-
 
39
      <Box
38
      <div
40
        sx={{
-
 
41
          cursor: event?.url ? 'cursor-pointer' : 'default'
39
        className={event?.url && 'cursor-pointer'}
42
        }}
40
        onClick={() => getBackendVarUrl(event?.url)}
43
        onClick={() => getBackendVarUrl(event?.url)}
41
      >
44
      >
42
        {event?.agenda && parse(event?.agenda)}
45
        {event?.agenda ? parse(event.agenda) : null}
43
      </div>
46
      </Box>
44
    </Modal>
47
    </Modal>
45
  )
48
  )
Línea 46... Línea 49...
46
}
49
}