Skip to content

Commit 04a8f6d

Browse files
committed
fix: blinking old type of expense reports - prettier & eslint
1 parent eb287ae commit 04a8f6d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/components/MoneyRequestReportView/MoneyRequestReportActionsList.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ type MoneyRequestReportListProps = {
7575
reportActions?: OnyxTypes.ReportAction[];
7676

7777
/** List of transactions belonging to this report */
78-
transactions: OnyxTypes.Transaction[];
78+
transactions?: OnyxTypes.Transaction[];
7979

8080
/** If the report has newer actions to load */
8181
hasNewerActions: boolean;
@@ -94,7 +94,15 @@ function getParentReportAction(parentReportActions: OnyxEntry<OnyxTypes.ReportAc
9494
return parentReportActions[parentReportActionID];
9595
}
9696

97-
function MoneyRequestReportActionsList({report, policy, reportActions = [], transactions = [], hasNewerActions, hasOlderActions, isLoadingInitialReportActions}: MoneyRequestReportListProps) {
97+
function MoneyRequestReportActionsList({
98+
report,
99+
policy,
100+
reportActions = [],
101+
transactions = [],
102+
hasNewerActions,
103+
hasOlderActions,
104+
isLoadingInitialReportActions,
105+
}: MoneyRequestReportListProps) {
98106
const styles = useThemeStyles();
99107
const {translate} = useLocalize();
100108
const {preferredLocale} = useLocalize();

0 commit comments

Comments
 (0)