Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3584 Rev 3628
Línea 34... Línea 34...
34
    100% {
34
    100% {
35
      opacity: 0;
35
      opacity: 0;
36
    }
36
    }
37
  }
37
  }
38
`;
38
`;
-
 
39
 
39
const AlertComponent = ({ notification }) => {
40
const AlertComponent = ({ notification }) => {
40
  const { id, style, msg } = notification;
41
  const { id, style, msg } = notification;
41
  const dispatch = useDispatch();
42
  const dispatch = useDispatch();
42
  const severity = style === 'danger' ? 'error' : style;
43
  const severity = style === 'danger' ? 'error' : style;
43
  const color = style === 'danger' ? 'error' : style;
44
  const color = style === 'danger' ? 'error' : style;