Skip to content

Commit

Permalink
Merge pull request #43355 from bernhardoj/fix/43315-lhn-doesnt-rerend…
Browse files Browse the repository at this point in the history
…ers-correctly

Fix most recent priority mode displayed as #focus and the other way around
  • Loading branch information
mountiny authored Jun 10, 2024
2 parents 4417f99 + 9be952e commit 22d0c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/LHNOptionsList/LHNOptionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ function LHNOptionsList({
);

const extraData = useMemo(
() => [reportActions, reports, policy, personalDetails, data.length, draftComments],
[reportActions, reports, policy, personalDetails, data.length, draftComments],
() => [reportActions, reports, policy, personalDetails, data.length, draftComments, optionMode],
[reportActions, reports, policy, personalDetails, data.length, draftComments, optionMode],
);

const previousOptionMode = usePrevious(optionMode);
Expand Down

0 comments on commit 22d0c65

Please sign in to comment.