Skip to content

Commit

Permalink
Reset min/max date to undefined, not null in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jan 29, 2021
1 parent 7a61215 commit d7b9ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/DateBonduariesOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function DateBonduariesOptions({
/>
 
<button
onClick={() => setMinDate(null)}
onClick={() => setMinDate(undefined)}
type="button"
>
Clear
Expand All @@ -56,7 +56,7 @@ export default function DateBonduariesOptions({
/>
&nbsp;
<button
onClick={() => setMaxDate(null)}
onClick={() => setMaxDate(undefined)}
type="button"
>
Clear
Expand Down

0 comments on commit d7b9ba6

Please sign in to comment.