Skip to content

Commit

Permalink
Merge pull request #4724 from kidroca/kidroca/ReportActionItemDateDocs
Browse files Browse the repository at this point in the history
[NO QA] Document why we pass the `currentDate` but we don't use it
  • Loading branch information
johnmlee101 authored Aug 23, 2021
2 parents 27c7ace + 1b15fa8 commit 27b1c52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/home/report/ReportActionItemDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ ReportActionItemDate.displayName = 'ReportActionItemDate';

export default compose(
withLocalize,

/** This component is hooked to the current date so that relative times can update when necessary
* e.g. past midnight */
withCurrentDate(),
memo,
)(ReportActionItemDate);

0 comments on commit 27b1c52

Please sign in to comment.