Skip to content

Commit

Permalink
Strict equality
Browse files Browse the repository at this point in the history
  • Loading branch information
kathryn-dale committed Jul 25, 2024
1 parent f71958d commit 986986e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class DatePartsField extends FormComponent {
const parsedDate = new Date(year, indexedMonth, day);

if (month - 1 === parsedDate.getMonth()) {
if (name == most_recent_date_name) {
if (name === most_recent_date_name) {
if (
firstDateDay &&
firstDateMonth &&
Expand Down

0 comments on commit 986986e

Please sign in to comment.