Skip to content

Commit 329f48b

Browse files
committed
fix: lint error
1 parent 2256eb6 commit 329f48b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/pages/home/sidebar/FloatingActionButtonAndPopover.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ function FloatingActionButtonAndPopover({onHideCreateMenu, onShowCreateMenu, ref
283283
}, [isValidReport, quickActionAvatars, personalDetails, quickAction?.action]);
284284

285285
const quickActionSubtitle = useMemo(() => {
286+
// eslint-disable-next-line @typescript-eslint/no-deprecated
286287
return !hideQABSubtitle ? (getReportName(quickActionReport, quickActionPolicy, undefined, personalDetails) ?? translate('quickAction.updateDestination')) : '';
287288
// eslint-disable-next-line react-compiler/react-compiler
288289
// eslint-disable-next-line react-hooks/exhaustive-deps
@@ -479,6 +480,7 @@ function FloatingActionButtonAndPopover({onHideCreateMenu, onShowCreateMenu, ref
479480
...baseQuickAction,
480481
icon: Expensicons.ReceiptScan,
481482
text: translate('quickAction.scanReceipt'),
483+
// eslint-disable-next-line @typescript-eslint/no-deprecated
482484
description: getReportName(policyChatForActivePolicy),
483485
shouldCallAfterModalHide: shouldUseNarrowLayout,
484486
onSelected,

0 commit comments

Comments
 (0)