Skip to content

Commit

Permalink
fix(ui): fix validation for date props [LN-Zap#3600]
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulbile committed Nov 10, 2020
1 parent fffda3f commit 0ab4852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/containers/UI/FormattedDateTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ FormattedDateTime.propTypes = {
format: PropTypes.string,
month: PropTypes.string,
timeDisplayMode: PropTypes.string,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]).isRequired,
value: PropTypes.any.isRequired,
}

export default connect(mapStateToProps)(FormattedDateTime)

0 comments on commit 0ab4852

Please sign in to comment.