Skip to content

Commit

Permalink
Fix eslint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenjaHorbach committed Jan 3, 2024
1 parent 342cdc5 commit 6ce3bce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ReportWelcomeText.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import _ from 'lodash';
import React from 'react';
import {View} from 'react-native';
import {OnyxEntry, withOnyx} from 'react-native-onyx';
Expand Down Expand Up @@ -43,7 +42,7 @@ function ReportWelcomeText({report, policy, personalDetails}: ReportWelcomeTextP
const isUserPolicyAdmin = PolicyUtils.isPolicyAdmin(policy);
const roomWelcomeMessage = ReportUtils.getRoomWelcomeMessage(report, isUserPolicyAdmin);
const moneyRequestOptions = ReportUtils.getMoneyRequestOptions(report, policy, participantAccountIDs);
const additionalText = _.map(moneyRequestOptions, (item) => translate(`reportActionsView.iouTypes.${item}`)).join(', ');
const additionalText = moneyRequestOptions.map((item) => translate(`reportActionsView.iouTypes.${item}`)).join(', ');

const navigateToReport = () => {
if (!report?.reportID) {
Expand Down

0 comments on commit 6ce3bce

Please sign in to comment.