From 1fe66cc4004075ddf87b0f941a604858f30ba31a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Henriques?= Date: Tue, 31 Mar 2026 14:14:57 +0100 Subject: [PATCH 1/3] Use newest Onyx changes --- package-lock.json | 25 +++++-------------------- package.json | 2 +- 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index fffd07a9886e..4489599fdb33 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,7 +115,7 @@ "react-native-localize": "^3.5.4", "react-native-nitro-modules": "0.29.4", "react-native-nitro-sqlite": "9.2.0", - "react-native-onyx": "3.0.54", + "react-native-onyx": "git+https://github.com/Expensify/react-native-onyx.git#91331231c4793f20331b9c0753775218f4b89d1c", "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0", @@ -34821,9 +34821,9 @@ } }, "node_modules/react-native-onyx": { - "version": "3.0.54", - "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-3.0.54.tgz", - "integrity": "sha512-202+t6reV9iQZnr5UOGHaJLCyO5X7Or0V2GHfvb5z10ZM1wnnZ0IKPkfUi+7WPZy4pFhEvDKymuaCIOu6++/rA==", + "version": "3.0.57", + "resolved": "git+ssh://git@github.com/Expensify/react-native-onyx.git#91331231c4793f20331b9c0753775218f4b89d1c", + "integrity": "sha512-7konL4H00xfa7ljI5op1oGMNCcpXgV4CxTGv9HZtiUZIIhfjJOxEMuB4O1xbF1/oIx2ZSCYOHxOqYE5TgsE8Jg==", "license": "MIT", "dependencies": { "ascii-table": "0.0.9", @@ -34844,8 +34844,7 @@ "react-native": ">=0.75.0", "react-native-device-info": "^10.3.0", "react-native-nitro-modules": ">=0.27.2", - "react-native-nitro-sqlite": "^9.2.0", - "react-native-performance": ">=5.1.0" + "react-native-nitro-sqlite": "^9.2.0" }, "peerDependenciesMeta": { "idb-keyval": { @@ -34859,9 +34858,6 @@ }, "react-native-nitro-sqlite": { "optional": true - }, - "react-native-performance": { - "optional": true } } }, @@ -34894,17 +34890,6 @@ "react-native-blob-util": ">=0.13.7" } }, - "node_modules/react-native-performance": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/react-native-performance/-/react-native-performance-6.0.0.tgz", - "integrity": "sha512-Sca75O8jhqXAnNbqvINnrw248Kv9cIwoGxToD8u2uX+BrkAxxXS+YhClEV5L3JdiOpdNCO1MJ5R9bgs2VkNpFg==", - "license": "MIT", - "optional": true, - "peer": true, - "peerDependencies": { - "react-native": "*" - } - }, "node_modules/react-native-permissions": { "version": "5.4.0", "license": "MIT", diff --git a/package.json b/package.json index 64938c95cdfa..b5445b6c555a 100644 --- a/package.json +++ b/package.json @@ -178,7 +178,7 @@ "react-native-localize": "^3.5.4", "react-native-nitro-modules": "0.29.4", "react-native-nitro-sqlite": "9.2.0", - "react-native-onyx": "3.0.54", + "react-native-onyx": "git+https://github.com/Expensify/react-native-onyx.git#91331231c4793f20331b9c0753775218f4b89d1c", "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0", From 4f7c36efa068df30423a6e213af5bc5556c3ec6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Henriques?= Date: Tue, 31 Mar 2026 14:52:51 +0100 Subject: [PATCH 2/3] Remove cache eviction references --- contributingGuides/STYLE.md | 4 +--- .../philosophies/ONYX-DATA-MANAGEMENT.md | 12 +----------- src/components/ArchivedReportFooter.tsx | 2 +- .../Attachments/AttachmentCarousel/index.tsx | 4 ++-- src/components/AvatarWithDisplayName.tsx | 2 +- src/components/MoneyRequestHeaderPrimaryAction.tsx | 2 +- .../MoneyRequestHeaderSecondaryActions.tsx | 2 +- .../ReportActionItem/MoneyRequestAction.tsx | 2 +- .../ReportActionItem/MoneyRequestReceiptView.tsx | 4 +--- src/components/ReportActionItem/MoneyRequestView.tsx | 4 +--- src/components/Search/index.tsx | 1 - src/hooks/usePaginatedReportActions.ts | 1 - src/hooks/useParentReportAction.ts | 4 ---- src/hooks/useSearchSections.ts | 1 - src/hooks/useShowNotFoundPageInIOUStep.ts | 1 - src/pages/Debug/Report/DebugReportActions.tsx | 1 - .../Debug/ReportAction/DebugReportActionPage.tsx | 1 - .../ContextMenu/BaseReportActionContextMenu.tsx | 2 -- .../ReportActionCompose/ReportActionCompose.tsx | 4 +--- .../report/withReportAndReportActionOrNotFound.tsx | 2 +- .../report/ReportAddAttachmentModalContent/index.tsx | 4 +--- .../routes/report/ReportAttachmentModalContent.tsx | 4 +--- src/setup/index.ts | 2 -- 23 files changed, 15 insertions(+), 51 deletions(-) diff --git a/contributingGuides/STYLE.md b/contributingGuides/STYLE.md index da18f59c5dce..fb447d88a6b4 100644 --- a/contributingGuides/STYLE.md +++ b/contributingGuides/STYLE.md @@ -571,9 +571,7 @@ When you change the function id argument type to allow `undefined`, check if it ```diff function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = false, updatedTransaction, isFromReviewDuplicates = false}: MoneyRequestViewProps) { - const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`, { - canEvict: false, - }); + const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`); - const parentReportAction = parentReportActions?.[report?.parentReportActionID ?? '-1']; + const parentReportAction = parentReportActions?.[report?.parentReportActionID]; ``` diff --git a/contributingGuides/philosophies/ONYX-DATA-MANAGEMENT.md b/contributingGuides/philosophies/ONYX-DATA-MANAGEMENT.md index 24131557c591..6bc1f3819864 100644 --- a/contributingGuides/philosophies/ONYX-DATA-MANAGEMENT.md +++ b/contributingGuides/philosophies/ONYX-DATA-MANAGEMENT.md @@ -35,17 +35,7 @@ Different platforms come with varying storage capacities and Onyx has a way to g **To flag a key as safe for removal:** - Add the key to the `evictableKeys` option in `Onyx.init(options)` -- Implement `canEvict` in the Onyx config for each component subscribing to a key -- The key will only be deleted when all subscribers return `true` for `canEvict` - -Example: -```js -Onyx.init({ - evictableKeys: [ONYXKEYS.COLLECTION.REPORT_ACTIONS], -}); - -const [reportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, {canEvict: !isActiveReport}); -``` +- A least recently accessed key will only be deleted when an Onyx operation retries after failing. ## Onyx Derived Values diff --git a/src/components/ArchivedReportFooter.tsx b/src/components/ArchivedReportFooter.tsx index 6f7456ec004e..d931f2fe27a1 100644 --- a/src/components/ArchivedReportFooter.tsx +++ b/src/components/ArchivedReportFooter.tsx @@ -26,7 +26,7 @@ function ArchivedReportFooter({reportID}: ArchivedReportFooterProps) { const [report] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`); const [personalDetails = getEmptyObject()] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST); - const [reportClosedAction] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, {canEvict: false, selector: getLastClosedReportAction}); + const [reportClosedAction] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, {selector: getLastClosedReportAction}); const originalMessage = isClosedAction(reportClosedAction) ? getOriginalMessage(reportClosedAction) : null; const archiveReason = originalMessage?.reason ?? CONST.REPORT.ARCHIVE_REASON.DEFAULT; const actorPersonalDetails = personalDetails?.[reportClosedAction?.actorAccountID ?? CONST.DEFAULT_NUMBER_ID]; diff --git a/src/components/Attachments/AttachmentCarousel/index.tsx b/src/components/Attachments/AttachmentCarousel/index.tsx index 8fb7d3e300b2..9a71f9b708fb 100644 --- a/src/components/Attachments/AttachmentCarousel/index.tsx +++ b/src/components/Attachments/AttachmentCarousel/index.tsx @@ -27,8 +27,8 @@ function AttachmentCarousel({ attachmentLink, onAttachmentError, }: AttachmentCarouselProps) { - const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.parentReportID}`, {canEvict: false}); - const [reportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.reportID}`, {canEvict: false}); + const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.parentReportID}`, {}); + const [reportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.reportID}`, {}); const canUseTouchScreen = canUseTouchScreenUtil(); const styles = useThemeStyles(); const isReportArchived = useReportIsArchived(report.reportID); diff --git a/src/components/AvatarWithDisplayName.tsx b/src/components/AvatarWithDisplayName.tsx index 591674c7cdcc..1606c58c1293 100644 --- a/src/components/AvatarWithDisplayName.tsx +++ b/src/components/AvatarWithDisplayName.tsx @@ -184,7 +184,7 @@ function AvatarWithDisplayName({ parentNavigationStatusContainerStyles = {}, }: AvatarWithDisplayNameProps) { const {localeCompare, formatPhoneNumber} = useLocalize(); - const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.parentReportID}`, {canEvict: false}); + const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.parentReportID}`, {}); const [personalDetails] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST) ?? CONST.EMPTY_OBJECT; const [conciergeReportID] = useOnyx(ONYXKEYS.CONCIERGE_REPORT_ID); const theme = useTheme(); diff --git a/src/components/MoneyRequestHeaderPrimaryAction.tsx b/src/components/MoneyRequestHeaderPrimaryAction.tsx index 5612677ad595..09badcac158b 100644 --- a/src/components/MoneyRequestHeaderPrimaryAction.tsx +++ b/src/components/MoneyRequestHeaderPrimaryAction.tsx @@ -54,7 +54,7 @@ function MoneyRequestHeaderPrimaryAction({reportID}: MoneyRequestHeaderPrimaryAc const [report] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`); const [parentReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${report?.parentReportID}`); const [policy] = useOnyx(`${ONYXKEYS.COLLECTION.POLICY}${report?.policyID}`); - const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.parentReportID}`, {canEvict: false}); + const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.parentReportID}`, {}); const parentReportAction = report?.parentReportActionID ? parentReportActions?.[report.parentReportActionID] : undefined; const transactionIDFromAction = isMoneyRequestAction(parentReportAction) ? (getOriginalMessage(parentReportAction)?.IOUTransactionID ?? CONST.DEFAULT_NUMBER_ID) diff --git a/src/components/MoneyRequestHeaderSecondaryActions.tsx b/src/components/MoneyRequestHeaderSecondaryActions.tsx index 8bd0f08806c6..da65544e0eb7 100644 --- a/src/components/MoneyRequestHeaderSecondaryActions.tsx +++ b/src/components/MoneyRequestHeaderSecondaryActions.tsx @@ -112,7 +112,7 @@ function MoneyRequestHeaderSecondaryActions({reportID, onBackButtonPress}: Money const [report] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`); const [parentReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${report?.parentReportID}`); const [policy] = useOnyx(`${ONYXKEYS.COLLECTION.POLICY}${report?.policyID}`); - const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.parentReportID}`, {canEvict: false}); + const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.parentReportID}`, {}); const parentReportAction = report?.parentReportActionID ? parentReportActions?.[report.parentReportActionID] : undefined; const transactionIDFromAction = isMoneyRequestAction(parentReportAction) ? (getOriginalMessage(parentReportAction)?.IOUTransactionID ?? CONST.DEFAULT_NUMBER_ID) diff --git a/src/components/ReportActionItem/MoneyRequestAction.tsx b/src/components/ReportActionItem/MoneyRequestAction.tsx index c1196f7d2566..76fb920d2ea3 100644 --- a/src/components/ReportActionItem/MoneyRequestAction.tsx +++ b/src/components/ReportActionItem/MoneyRequestAction.tsx @@ -91,7 +91,7 @@ function MoneyRequestAction({ const {onPreviewPressed} = useReportActionItemActions(); const [chatReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${chatReportID}`); const [iouReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${requestReportID}`); - const [reportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${chatReportID}`, {canEvict: false}); + const [reportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${chatReportID}`, {}); const [introSelected] = useOnyx(ONYXKEYS.NVP_INTRO_SELECTED); const [betas] = useOnyx(ONYXKEYS.BETAS); const StyleUtils = useStyleUtils(); diff --git a/src/components/ReportActionItem/MoneyRequestReceiptView.tsx b/src/components/ReportActionItem/MoneyRequestReceiptView.tsx index a067c804e235..1d929184820a 100644 --- a/src/components/ReportActionItem/MoneyRequestReceiptView.tsx +++ b/src/components/ReportActionItem/MoneyRequestReceiptView.tsx @@ -126,9 +126,7 @@ function MoneyRequestReceiptView({ const parentReportID = report?.parentReportID; const [parentReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${getNonEmptyStringOnyxID(parentReportID)}`); const [chatReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${getNonEmptyStringOnyxID(parentReport?.parentReportID)}`); - const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`, { - canEvict: false, - }); + const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`, {}); const [conciergeReportID] = useOnyx(ONYXKEYS.CONCIERGE_REPORT_ID); const [introSelected] = useOnyx(ONYXKEYS.NVP_INTRO_SELECTED); const [isSelfTourViewed] = useOnyx(ONYXKEYS.NVP_ONBOARDING, {selector: hasSeenTourSelector}); diff --git a/src/components/ReportActionItem/MoneyRequestView.tsx b/src/components/ReportActionItem/MoneyRequestView.tsx index c0c4fe72b588..c58b52dbe0cf 100644 --- a/src/components/ReportActionItem/MoneyRequestView.tsx +++ b/src/components/ReportActionItem/MoneyRequestView.tsx @@ -187,9 +187,7 @@ function MoneyRequestView({ parentReport = parentReport ?? currentSearchResults?.data[`${ONYXKEYS.COLLECTION.REPORT}${parentReportID}`]; const [parentReportNextStep] = useOnyx(`${ONYXKEYS.COLLECTION.NEXT_STEP}${getNonEmptyStringOnyxID(parentReport?.reportID)}`); - const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`, { - canEvict: false, - }); + const [parentReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`, {}); const parentReportAction = transactionThreadReport?.parentReportActionID ? parentReportActions?.[transactionThreadReport.parentReportActionID] : undefined; const isFromMergeTransaction = !!mergeTransactionID; diff --git a/src/components/Search/index.tsx b/src/components/Search/index.tsx index 325b692501f3..70aee6d04443 100644 --- a/src/components/Search/index.tsx +++ b/src/components/Search/index.tsx @@ -305,7 +305,6 @@ function Search({ const archivedReportsIdSet = useArchivedReportsIdSet(); const [exportReportActions] = useOnyx(ONYXKEYS.COLLECTION.REPORT_ACTIONS, { - canEvict: false, selector: selectFilteredReportActions, }); diff --git a/src/hooks/usePaginatedReportActions.ts b/src/hooks/usePaginatedReportActions.ts index 5a3f78b2e8c6..6f5fa79cd144 100644 --- a/src/hooks/usePaginatedReportActions.ts +++ b/src/hooks/usePaginatedReportActions.ts @@ -35,7 +35,6 @@ function usePaginatedReportActions(reportID: string | undefined, reportActionID? const [sortedAllReportActions] = useOnyx( `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${nonEmptyStringReportID}`, { - canEvict: false, selector: getSortedAllReportActionsSelector, }, [getSortedAllReportActionsSelector], diff --git a/src/hooks/useParentReportAction.ts b/src/hooks/useParentReportAction.ts index 3f512c3219e8..716f5705f18a 100644 --- a/src/hooks/useParentReportAction.ts +++ b/src/hooks/useParentReportAction.ts @@ -17,10 +17,6 @@ function useParentReportAction(report: OnyxEntry) { const [parentReportAction] = useOnyx( `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${parentReportID}`, { - // Only set canEvict when we have a valid parentReportID — reportActions_ is an evictable key, - // but reportActions_undefined is not and will throw if canEvict is specified. - canEvict: parentReportID ? false : undefined, - selector: getParentReportAction, }, [getParentReportAction], diff --git a/src/hooks/useSearchSections.ts b/src/hooks/useSearchSections.ts index b9f5a5351674..b7fa54da3460 100644 --- a/src/hooks/useSearchSections.ts +++ b/src/hooks/useSearchSections.ts @@ -41,7 +41,6 @@ function useSearchSections(): UseSearchSectionsResult { const isActionLoadingSet = useActionLoadingReportIDs(); const [exportReportActions] = useOnyx(ONYXKEYS.COLLECTION.REPORT_ACTIONS, { - canEvict: false, selector: selectFilteredReportActions, }); diff --git a/src/hooks/useShowNotFoundPageInIOUStep.ts b/src/hooks/useShowNotFoundPageInIOUStep.ts index 9f58a84a705c..192fb7c2889b 100644 --- a/src/hooks/useShowNotFoundPageInIOUStep.ts +++ b/src/hooks/useShowNotFoundPageInIOUStep.ts @@ -45,7 +45,6 @@ const useShowNotFoundPageInIOUStep = (action: IOUAction, iouType: IOUType, repor const [reportAction] = useOnyx( `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportActionsReportID}`, { - canEvict: false, selector: getReportActionSelector, }, [getReportActionSelector], diff --git a/src/pages/Debug/Report/DebugReportActions.tsx b/src/pages/Debug/Report/DebugReportActions.tsx index 45a0f70a06a2..9a573c411a5f 100644 --- a/src/pages/Debug/Report/DebugReportActions.tsx +++ b/src/pages/Debug/Report/DebugReportActions.tsx @@ -50,7 +50,6 @@ function DebugReportActions({reportID}: DebugReportActionsProps) { const [sortedAllReportActions] = useOnyx( `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, { - canEvict: false, selector: getSortedAllReportActionsSelector, }, [getSortedAllReportActionsSelector], diff --git a/src/pages/Debug/ReportAction/DebugReportActionPage.tsx b/src/pages/Debug/ReportAction/DebugReportActionPage.tsx index d1be4c2669c9..c0cd99c5b57b 100644 --- a/src/pages/Debug/ReportAction/DebugReportActionPage.tsx +++ b/src/pages/Debug/ReportAction/DebugReportActionPage.tsx @@ -45,7 +45,6 @@ function DebugReportActionPage({ const [reportAction] = useOnyx( `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, { - canEvict: false, selector: getReportActionSelector, }, [getReportActionSelector], diff --git a/src/pages/inbox/report/ContextMenu/BaseReportActionContextMenu.tsx b/src/pages/inbox/report/ContextMenu/BaseReportActionContextMenu.tsx index 261e65494087..fd7f7a1171bb 100755 --- a/src/pages/inbox/report/ContextMenu/BaseReportActionContextMenu.tsx +++ b/src/pages/inbox/report/ContextMenu/BaseReportActionContextMenu.tsx @@ -164,11 +164,9 @@ function BaseReportActionContextMenu({ const threeDotRef = useRef(null); const [betas] = useOnyx(ONYXKEYS.BETAS); const [reportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, { - canEvict: false, selector: withDEWRoutedActionsObject, }); const [originalReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${originalReportID}`, { - canEvict: false, selector: withDEWRoutedActionsObject, }); diff --git a/src/pages/inbox/report/ReportActionCompose/ReportActionCompose.tsx b/src/pages/inbox/report/ReportActionCompose/ReportActionCompose.tsx index 64b7d7327708..87161db51adf 100644 --- a/src/pages/inbox/report/ReportActionCompose/ReportActionCompose.tsx +++ b/src/pages/inbox/report/ReportActionCompose/ReportActionCompose.tsx @@ -269,9 +269,7 @@ function ReportActionCompose({reportID}: ReportActionComposeProps) { const isTransactionThreadView = useMemo(() => isReportTransactionThread(report), [report]); const isExpensesReport = useMemo(() => reportTransactions && reportTransactions.length > 1, [reportTransactions]); - const [rawReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.reportID}`, { - canEvict: false, - }); + const [rawReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.reportID}`, {}); const iouAction = rawReportActions ? Object.values(rawReportActions).find((action) => isMoneyRequestAction(action)) : null; const linkedTransactionID = iouAction && !isExpensesReport ? getLinkedTransactionID(iouAction) : undefined; diff --git a/src/pages/inbox/report/withReportAndReportActionOrNotFound.tsx b/src/pages/inbox/report/withReportAndReportActionOrNotFound.tsx index 512f85882ed9..8a69ad607b24 100644 --- a/src/pages/inbox/report/withReportAndReportActionOrNotFound.tsx +++ b/src/pages/inbox/report/withReportAndReportActionOrNotFound.tsx @@ -45,7 +45,7 @@ export default function Date: Sat, 4 Apr 2026 09:49:12 +0100 Subject: [PATCH 3/3] Use newest Onyx changes --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 29c739b4a412..1af3e3667968 100644 --- a/package-lock.json +++ b/package-lock.json @@ -117,7 +117,7 @@ "react-native-localize": "^3.5.4", "react-native-nitro-modules": "0.29.4", "react-native-nitro-sqlite": "9.2.0", - "react-native-onyx": "git+https://github.com/Expensify/react-native-onyx.git#91331231c4793f20331b9c0753775218f4b89d1c", + "react-native-onyx": "git+https://github.com/Expensify/react-native-onyx.git#577832e3eb8c6e9b4baf55061b3345d9064f0404", "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0", @@ -34746,9 +34746,9 @@ } }, "node_modules/react-native-onyx": { - "version": "3.0.57", - "resolved": "git+ssh://git@github.com/Expensify/react-native-onyx.git#91331231c4793f20331b9c0753775218f4b89d1c", - "integrity": "sha512-7konL4H00xfa7ljI5op1oGMNCcpXgV4CxTGv9HZtiUZIIhfjJOxEMuB4O1xbF1/oIx2ZSCYOHxOqYE5TgsE8Jg==", + "version": "3.0.61", + "resolved": "git+ssh://git@github.com/Expensify/react-native-onyx.git#577832e3eb8c6e9b4baf55061b3345d9064f0404", + "integrity": "sha512-UdFkeIHFK4ljB5gzNWNPYioU1qOegoleWNhGfqQeqIGzN72paGXoFLsiyw2L0eHnxZC8tfcv0Dly1FAfhmrcOQ==", "license": "MIT", "dependencies": { "ascii-table": "0.0.9", diff --git a/package.json b/package.json index 0a02f9e7c4c6..c9b055f877f9 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "react-native-localize": "^3.5.4", "react-native-nitro-modules": "0.29.4", "react-native-nitro-sqlite": "9.2.0", - "react-native-onyx": "git+https://github.com/Expensify/react-native-onyx.git#91331231c4793f20331b9c0753775218f4b89d1c", + "react-native-onyx": "git+https://github.com/Expensify/react-native-onyx.git#577832e3eb8c6e9b4baf55061b3345d9064f0404", "react-native-pager-view": "8.0.0", "react-native-pdf": "7.0.2", "react-native-permissions": "^5.4.0",