Skip to content

Commit

Permalink
chore: code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
turban committed Sep 12, 2023
1 parent aff46b4 commit b81300b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/periods/PeriodSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const PeriodSelect = ({
firstDate,
lastDate,
})
: [period], // saved map period
: [period], // saved map period (not included in depency array by design)
[periodType, year, firstDate, lastDate]

Check warning on line 43 in src/components/periods/PeriodSelect.js

View workflow job for this annotation

GitHub Actions / lint

React Hook useMemo has a missing dependency: 'period'. Either include it or remove the dependency array
)

Expand Down

0 comments on commit b81300b

Please sign in to comment.