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 6c9725b commit 3ca40d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ValidityOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function ValidityOptions({
/>
 
<button
onClick={() => setMinDate(null)}
onClick={() => setMinDate(undefined)}
type="button"
>
Clear
Expand All @@ -59,7 +59,7 @@ export default function ValidityOptions({
/>
&nbsp;
<button
onClick={() => setMaxDate(null)}
onClick={() => setMaxDate(undefined)}
type="button"
>
Clear
Expand Down

0 comments on commit 3ca40d8

Please sign in to comment.