Skip to content

Commit 61e356c

Browse files
committed
change object mto string
1 parent 05ba7c0 commit 61e356c

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.shape('')).isRequired,
4040
errorTitle: PropTypes.string,
4141
variant: PropTypes.string.isRequired,
4242
}).isRequired,

0 commit comments

Comments
 (0)