We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e356c commit d610565Copy full SHA for d610565
src/components/Error/Error.jsx
@@ -36,7 +36,7 @@ const Error = ({ errors, showBackButton, canDismissAlert, router }) => {
36
Error.propTypes = {
37
canDismissAlert: PropTypes.bool,
38
errors: PropTypes.shape({
39
- errorText: PropTypes.arrayOf(PropTypes.shape('')).isRequired,
+ errorText: PropTypes.arrayOf(PropTypes.string).isRequired,
40
errorTitle: PropTypes.string,
41
variant: PropTypes.string.isRequired,
42
}).isRequired,
0 commit comments