Skip to content

Commit 1b7c484

Browse files
committed
revert additional stable selector in ActionContentRouter
1 parent f792749 commit 1b7c484

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pages/inbox/report/actionContents/ActionContentRouter.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ function ActionContentRouter({
144144
const {translate, formatTravelDate} = useLocalize();
145145
const styles = useThemeStyles();
146146

147-
const stableReportSelector = (reportEntry: OnyxEntry<OnyxTypes.Report>) => getStableReportSelector(reportEntry);
148-
const [originalReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${originalReportID}`, {selector: stableReportSelector});
147+
const [originalReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${originalReportID}`, {selector: getStableReportSelector});
149148

150149
// Report that owns this action for mutations (thread / merged-list cases use originalReport). This is a stable projection (heartbeat fields stripped).
151150
const actionOwnerReportStable = originalReport ?? report;

0 commit comments

Comments
 (0)