Skip to content

Commit 0ae80d2

Browse files
committed
fix: remove canEvict usage
1 parent a55cb90 commit 0ae80d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useHoldRejectActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function useHoldRejectActions({reportID, onHoldEducationalOpen, onRejectModalOpe
3939
const [chatReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${getNonEmptyStringOnyxID(moneyRequestReport?.chatReportID)}`);
4040
const {transactionThreadReport} = useTransactionThreadReport(reportID);
4141

42-
const [reportActionsForParent] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${getNonEmptyStringOnyxID(moneyRequestReport?.reportID)}`, {canEvict: false});
42+
const [reportActionsForParent] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${getNonEmptyStringOnyxID(moneyRequestReport?.reportID)}`, {});
4343
const requestParentReportAction = transactionThreadReport?.parentReportActionID ? reportActionsForParent?.[transactionThreadReport.parentReportActionID] : undefined;
4444

4545
const {chatReport: chatIOUReport} = useGetIOUReportFromReportAction(requestParentReportAction);

0 commit comments

Comments
 (0)