diff --git a/src/components/Error.jsx b/src/components/Error.jsx index 54edb29..e48cf8b 100644 --- a/src/components/Error.jsx +++ b/src/components/Error.jsx @@ -21,11 +21,11 @@ const ErrorAlert = ({titulo,texto,align = "center",severity = "error"}) => { ); }; -Error.propTypes={ +ErrorAlert.propTypes={ titulo: PropTypes.string.isRequired, texto: PropTypes.string, align: PropTypes.string, severity: PropTypes.string }; -export default ErrorAlert; \ No newline at end of file +export default ErrorAlert; diff --git a/src/components/Inicializar.jsx b/src/components/Inicializar.jsx index 99f5c64..88aee62 100644 --- a/src/components/Inicializar.jsx +++ b/src/components/Inicializar.jsx @@ -65,7 +65,10 @@ const Inicializar = ({ return ( - + {children} @@ -83,4 +86,4 @@ Inicializar.propTypes={ children: PropTypes.element.isRequired }; -export default Inicializar; \ No newline at end of file +export default Inicializar;