Skip to content

Commit

Permalink
fix(graph): Correct last year calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Oct 16, 2023
1 parent 749c421 commit ff071f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function useGetData(studyType, sponsor = '*') {
);
const yearMax = currentYear - 1;
const yearMin = yearMax - 10;
const yearMax2 = currentYear - 2;
const yearMax2 = currentYear - 3;
const yearMin2 = yearMax2 - 10;
const query1 = getFetchOptions({
key: 'studiesDynamiqueOuverture',
Expand Down

0 comments on commit ff071f8

Please sign in to comment.