Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2185 Rev 2186
Línea 1... Línea 1...
1
import React, { useMemo, useState } from 'react'
1
import React, { useEffect, useMemo, useState } from 'react'
2
import { Link } from 'react-router-dom'
2
import { Link } from 'react-router-dom'
3
import { useDispatch } from 'react-redux'
3
import { useDispatch } from 'react-redux'
Línea 4... Línea 4...
4
 
4
 
5
import { axios } from '@app/utils'
5
import { axios } from '@app/utils'
Línea 60... Línea 60...
60
      .catch((error) => {
60
      .catch((error) => {
61
        dispatch(addNotification({ style: 'danger', msg: error.message }))
61
        dispatch(addNotification({ style: 'danger', msg: error.message }))
62
      })
62
      })
63
  }
63
  }
Línea -... Línea 64...
-
 
64
 
-
 
65
  useEffect(() => setComments(defaultComments), [defaultComments])
64
 
66
 
65
  return (
67
  return (
66
    <>
68
    <>
67
      <CommentsContainer>
69
      <CommentsContainer>
68
        {comments.map((comment) => (
70
        {comments.map((comment) => (