Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2993 Rev 2994
Línea 26... Línea 26...
26
  const { data: user } = useFetch('/helpers/menu')
26
  const { data: user } = useFetch('/helpers/menu')
27
  const [setNotifications] = useState([])
27
  const [setNotifications] = useState([])
28
  const [confirmModalShow, setConfirmModalShow] = useState(false)
28
  const [confirmModalShow, setConfirmModalShow] = useState(false)
29
  const dispatch = useDispatch()
29
  const dispatch = useDispatch()
Línea 30... Línea -...
30
 
-
 
31
  const { image, fullName, country, visits, connections } = user
-
 
32
 
30
 
Línea 33... Línea 31...
33
  useFetch('/notifications/mark-all-read')
31
  useFetch('/notifications/mark-all-read')
34
 
32
 
35
  const deleteAllNotifications = () => {
33
  const deleteAllNotifications = () => {
Línea 78... Línea 76...
78
 
76
 
79
  return (
77
  return (
80
    <>
78
    <>
81
      <Grid container spacing={2}>
79
      <Grid container spacing={2}>
82
        <Grid item xs={12} md={4}>
80
        <Grid item xs={12} md={4}>
83
          <ProfileInfo
-
 
84
            image={image}
-
 
85
            name={fullName}
-
 
86
            visits={visits}
-
 
87
            country={country}
-
 
88
            connections={connections}
-
 
89
          />
81
          <ProfileInfo {...user} />
90
        </Grid>
82
        </Grid>
91
        <Grid item xs={12} md={8}>
83
        <Grid item xs={12} md={8}>
92
          <Widget>
84
          <Widget>
93
            <Widget.Header
85
            <Widget.Header