Skip to content

Commit

Permalink
chore: lint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
turban committed Sep 13, 2023
1 parent b81300b commit 7b14629
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/periods/PeriodSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const PeriodSelect = ({
const prevYear = usePrevious(year)

// Set periods when periodType or year changes
/* eslint-disable react-hooks/exhaustive-deps */
const periods = useMemo(
() =>
periodType
Expand All @@ -42,6 +43,7 @@ const PeriodSelect = ({
: [period], // saved map period (not included in depency array by design)
[periodType, year, firstDate, lastDate]
)
/* eslint-enable react-hooks/exhaustive-deps */

// Increment/decrement year
const changeYear = useCallback(
Expand Down

0 comments on commit 7b14629

Please sign in to comment.