Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ishpaul777 committed Nov 13, 2023
1 parent 0a72a2e commit afcc4cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2220,13 +2220,13 @@ function navigateToDetailsPage(report) {
*
* @param {Object} report
*/
function goBackToDetailsPage(report){
function goBackToDetailsPage(report) {
if (isOneOnOneChat(report)) {
Navigation.goBack(ROUTES.PROFILE.getRoute(report.participantAccountIDs[0]));
return;
}
Navigation.goBack(ROUTES.REPORT_SETTINGS.getRoute(report.reportID));
};
}

/**
* Generate a random reportID up to 53 bits aka 9,007,199,254,740,991 (Number.MAX_SAFE_INTEGER).
Expand Down
4 changes: 3 additions & 1 deletion src/pages/settings/Report/NotificationPreferencePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ function NotificationPreferencePage(props) {
/>
<SelectionList
sections={[{data: notificationPreferenceOptions}]}
onSelectRow={(option) => Report.updateNotificationPreference(props.report.reportID, props.report.notificationPreference, option.value, true, undefined, undefined, props.report)}
onSelectRow={(option) =>
Report.updateNotificationPreference(props.report.reportID, props.report.notificationPreference, option.value, true, undefined, undefined, props.report)
}
initiallyFocusedOptionKey={_.find(notificationPreferenceOptions, (locale) => locale.isSelected).keyForList}
/>
</FullPageNotFoundView>
Expand Down

0 comments on commit afcc4cc

Please sign in to comment.