Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanDylann committed Oct 30, 2023
1 parent 0719a89 commit 087f909
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import React, {useCallback, useEffect, useRef, useState} from 'react';
import {View} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import _ from 'underscore';
import lodashSize from 'lodash/size';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import ScreenWrapper from '@components/ScreenWrapper';
import compose from '@libs/compose';
Expand Down Expand Up @@ -64,7 +64,7 @@ function MoneyRequestParticipantsPage({iou, selectedTab, route, transaction}) {
const [headerTitle, setHeaderTitle] = useState();
const waypoints = lodashGet(transaction, 'comment.waypoints', {});
const validatedWaypoints = TransactionUtils.getValidWaypoints(waypoints);
const isInvalidWaypoint = _.size(validatedWaypoints) < 2;
const isInvalidWaypoint = lodashSize(validatedWaypoints) < 2;
useEffect(() => {
if (isDistanceRequest) {
setHeaderTitle(translate('common.distance'));
Expand Down

0 comments on commit 087f909

Please sign in to comment.