Skip to content

Commit

Permalink
fix: change to use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Oct 16, 2023
1 parent 8463cb0 commit c09537e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const getTopMostReportIDFromRHP = (state) => {
if (!state) {
return;
}
const topmostRightPane = lodashFindLast(state.routes, (route) => route.name === 'RightModalNavigator');
const topmostRightPane = lodashFindLast(state.routes, (route) => route.name === NAVIGATORS.RIGHT_MODAL_NAVIGATOR);

if (topmostRightPane) {
return getTopMostReportIDFromRHP(topmostRightPane.state);
Expand Down

0 comments on commit c09537e

Please sign in to comment.