Corrección de proptypes
This commit is contained in:
parent
58d69e85b2
commit
98d848798c
2 changed files with 7 additions and 4 deletions
|
@ -21,11 +21,11 @@ const ErrorAlert = ({titulo,texto,align = "center",severity = "error"}) => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
Error.propTypes={
|
ErrorAlert.propTypes={
|
||||||
titulo: PropTypes.string.isRequired,
|
titulo: PropTypes.string.isRequired,
|
||||||
texto: PropTypes.string,
|
texto: PropTypes.string,
|
||||||
align: PropTypes.string,
|
align: PropTypes.string,
|
||||||
severity: PropTypes.string
|
severity: PropTypes.string
|
||||||
};
|
};
|
||||||
|
|
||||||
export default ErrorAlert;
|
export default ErrorAlert;
|
||||||
|
|
|
@ -65,7 +65,10 @@ const Inicializar = ({
|
||||||
return (
|
return (
|
||||||
<Idioma messages={messages} idiomaDefecto={idiomaDefecto}>
|
<Idioma messages={messages} idiomaDefecto={idiomaDefecto}>
|
||||||
<Tema>
|
<Tema>
|
||||||
<InicializarInner devURL={devAuthURL}>
|
<InicializarInner
|
||||||
|
devURL={devAuthURL}
|
||||||
|
basename={basename}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</InicializarInner>
|
</InicializarInner>
|
||||||
</Tema>
|
</Tema>
|
||||||
|
@ -83,4 +86,4 @@ Inicializar.propTypes={
|
||||||
children: PropTypes.element.isRequired
|
children: PropTypes.element.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Inicializar;
|
export default Inicializar;
|
||||||
|
|
Loading…
Add table
Reference in a new issue