Skip to content

Commit

Permalink
fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodebrute committed Oct 9, 2024
1 parent 496ad70 commit 266fd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/ReportScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ function ReportScreen({route, currentReportID = '', navigation}: ReportScreenPro
return;
}
Navigation.setParams({reportActionID: ''});
}, [prevIsLinkedActionDeleted, isLinkedActionDeleted]);
}, [isLinkedActionBecomesDeleted]);

// If user redirects to an inaccessible whisper via a deeplink, on a report they have access to,
// then we set reportActionID as empty string, so we display them the report and not the "Not found page".
Expand Down

0 comments on commit 266fd69

Please sign in to comment.