Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3511 Rev 3527
Línea 26... Línea 26...
26
export function useCapsule(uuid) {
26
export function useCapsule(uuid) {
27
  const [capsule, setCapsule] = useState(DEFAULT_STATE);
27
  const [capsule, setCapsule] = useState(DEFAULT_STATE);
Línea 28... Línea 28...
28
 
28
 
Línea 29... Línea 29...
29
  const { showSuccess, showError } = useAlert();
29
  const { showSuccess, showError } = useAlert();
Línea 30... Línea 30...
30
 
30
 
31
  const { data, loading, refetch } = useFetch(`/microlearning/get-capsule/${uuid}`);
31
  const { data, loading, refetch } = useFetch(`/microlearning/capsules/${uuid}`);
32
 
32
 
33
  const addComment = async ({ comment, rating }) => {
33
  const addComment = async ({ comment, rating }) => {