Skip to content

Commit

Permalink
chg_errormessage_jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
rengjo committed Feb 20, 2024
1 parent e497dea commit fc1f476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ErrorMessage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ErrorMessage = ({ error }) => (
)

ErrorMessage.propTypes = {
error: PropTypes.string.isRequired,
error: PropTypes.object.isRequired,
};

export default ErrorMessage;

0 comments on commit fc1f476

Please sign in to comment.