Skip to content

Commit 5bc57ea

Browse files
committed
used constant value
1 parent 0bdb14d commit 5bc57ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/actions/IOU/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3085,7 +3085,7 @@ function recalculateOptimisticReportName(iouReport: OnyxTypes.Report, policy: On
30853085
function maybeUpdateReportNameForFormulaTitle(iouReport: OnyxTypes.Report, policy: OnyxEntry<OnyxTypes.Policy>): OnyxTypes.Report {
30863086
const reportNameValuePairs = allReportNameValuePairs?.[`${ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS}${iouReport.reportID}`];
30873087
const titleField = reportNameValuePairs?.expensify_text_title;
3088-
if (titleField?.type !== 'formula') {
3088+
if (titleField?.type !== CONST.REPORT_FIELD_TYPES.FORMULA) {
30893089
return iouReport;
30903090
}
30913091

0 commit comments

Comments
 (0)