Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
iansvo committed Nov 25, 2024
1 parent 030d7a4 commit 1d16eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/query/components/DateQueryControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function DateQueryControl( { id, value, onChange } ) {
const newIncludeAfter = ! includeAfter;
setIncludeAfter( newIncludeAfter );

// If the new value is false, clear the before value.
// If the new value is false, clear the after value.
onAfterChange( newIncludeAfter ? new Date() : '' );
} }
checked={ includeAfter }
Expand Down

0 comments on commit 1d16eb5

Please sign in to comment.