Skip to content

Commit d610565

Browse files
Update src/components/Error/Error.jsx
Co-authored-by: Alisha Evans <[email protected]>
1 parent 61e356c commit d610565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Error/Error.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Error = ({ errors, showBackButton, canDismissAlert, router }) => {
3636
Error.propTypes = {
3737
canDismissAlert: PropTypes.bool,
3838
errors: PropTypes.shape({
39-
errorText: PropTypes.arrayOf(PropTypes.shape('')).isRequired,
39+
errorText: PropTypes.arrayOf(PropTypes.string).isRequired,
4040
errorTitle: PropTypes.string,
4141
variant: PropTypes.string.isRequired,
4242
}).isRequired,

0 commit comments

Comments
 (0)