Skip to content

Commit 6dca6b7

Browse files
Update src/pages/iou/request/step/IOURequestStepDescription.tsx
Co-authored-by: ahmedGaber93 <41129870+ahmedGaber93@users.noreply.github.com>
1 parent 30449d0 commit 6dca6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/iou/request/step/IOURequestStepDescription.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function IOURequestStepDescription({
134134
const shouldShowNotFoundPage = isEditing && (isSplitBill ? !canEditSplitBill : !isMoneyRequestAction(reportAction) || !canEditMoneyRequest(reportAction));
135135
const isReportInGroupPolicy = !!report?.policyID && report.policyID !== CONST.POLICY.ID_FAKE;
136136
const getDescriptionHint = () => {
137-
return transaction?.category && policyCategories ? policyCategories[transaction?.category].commentHint : '';
137+
return transaction?.category && policyCategories ? policyCategories[transaction?.category]?.commentHint ?? '' : '';
138138
};
139139

140140
return (

0 commit comments

Comments
 (0)