Skip to content

Commit

Permalink
refactor: set invalid date range
Browse files Browse the repository at this point in the history
  • Loading branch information
Ante Laca committed Apr 25, 2024
1 parent e127b41 commit 17b123b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ const DonationGoal = ({dispatch}) => {
label={__('Start Date', 'give')}
placeholder={__('Select Date', 'give')}
date={goalStartDate}
invalidDateAfter={goalEndDate}
onSelect={(goalStartDate) => {
dispatch(setFormSettings({goalStartDate}));
}}
Expand Down

0 comments on commit 17b123b

Please sign in to comment.