Skip to content

Commit

Permalink
add missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Aug 2, 2024
1 parent 2fc45d1 commit 2fc9ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function ReportActionsList({
}
InteractionManager.runAfterInteractions(() => reportScrollManager.scrollToBottom());
},
[reportScrollManager],
[reportScrollManager, report.reportID],
);
useEffect(() => {
// Why are we doing this, when in the cleanup of the useEffect we are already calling the unsubscribe function?
Expand Down

0 comments on commit 2fc9ebc

Please sign in to comment.