Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waterim committed Dec 20, 2024
1 parent 3910816 commit e816f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/ReportScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function getParentReportAction(parentReportActions: OnyxEntry<OnyxTypes.ReportAc
if (!parentReportActions || !parentReportActionID) {
return;
}
return parentReportActions[parentReportActionID];
return parentReportActions[parentReportActionID ?? CONST.DEFAULT_NUMBER_ID];
}

function ReportScreen({route, currentReportID = '', navigation}: ReportScreenProps) {
Expand Down

0 comments on commit e816f29

Please sign in to comment.