From 40ecd442db9b435b88159130227363ec3ab39633 Mon Sep 17 00:00:00 2001 From: Andrew Rosiclair Date: Tue, 11 Aug 2026 16:47:42 -0400 Subject: [PATCH 1/2] Rename ExportDownloadStatusContext.tsx to ExportDownloadStatusProvider.tsx --- src/components/MoneyReportHeader.tsx | 2 +- ...wnloadStatusContext.tsx => ExportDownloadStatusProvider.tsx} | 0 src/hooks/useExportActions.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/components/MoneyReportHeaderActions/{ExportDownloadStatusContext.tsx => ExportDownloadStatusProvider.tsx} (100%) diff --git a/src/components/MoneyReportHeader.tsx b/src/components/MoneyReportHeader.tsx index 36f579be3708..76a28ff9ca2c 100644 --- a/src/components/MoneyReportHeader.tsx +++ b/src/components/MoneyReportHeader.tsx @@ -27,7 +27,7 @@ import {View} from 'react-native'; import HeaderLoadingBar from './HeaderLoadingBar'; import HeaderWithBackButton from './HeaderWithBackButton'; import MoneyReportHeaderActions from './MoneyReportHeaderActions'; -import {ExportDownloadStatusProvider} from './MoneyReportHeaderActions/ExportDownloadStatusContext'; +import {ExportDownloadStatusProvider} from './MoneyReportHeaderActions/ExportDownloadStatusProvider'; import MoneyReportHeaderModals from './MoneyReportHeaderModals'; import MoneyReportHeaderMoreContent from './MoneyReportHeaderMoreContent'; import MoneyRequestReportNavigation from './MoneyRequestReportView/MoneyRequestReportNavigation'; diff --git a/src/components/MoneyReportHeaderActions/ExportDownloadStatusContext.tsx b/src/components/MoneyReportHeaderActions/ExportDownloadStatusProvider.tsx similarity index 100% rename from src/components/MoneyReportHeaderActions/ExportDownloadStatusContext.tsx rename to src/components/MoneyReportHeaderActions/ExportDownloadStatusProvider.tsx diff --git a/src/hooks/useExportActions.ts b/src/hooks/useExportActions.ts index 2744b24afd24..da4a98859094 100644 --- a/src/hooks/useExportActions.ts +++ b/src/hooks/useExportActions.ts @@ -1,5 +1,5 @@ import type {DropdownOption} from '@components/ButtonWithDropdownMenu/types'; -import {useExportDownloadStatus} from '@components/MoneyReportHeaderActions/ExportDownloadStatusContext'; +import {useExportDownloadStatus} from '@components/MoneyReportHeaderActions/ExportDownloadStatusProvider'; import type {PopoverMenuItem} from '@components/PopoverMenu'; import {exportReceiptsToZip} from '@libs/actions/Export'; From 8ea4876ca014cb672ffbe416e8af5171c9853a0c Mon Sep 17 00:00:00 2001 From: Andrew Rosiclair Date: Tue, 11 Aug 2026 17:33:09 -0400 Subject: [PATCH 2/2] fix reference --- tests/unit/hooks/useExportActionsTest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/hooks/useExportActionsTest.ts b/tests/unit/hooks/useExportActionsTest.ts index 9c83f3e23625..003334f6ac76 100644 --- a/tests/unit/hooks/useExportActionsTest.ts +++ b/tests/unit/hooks/useExportActionsTest.ts @@ -27,7 +27,7 @@ jest.mock('@libs/actions/Link', () => ({ openOldDotLink: jest.fn(), })); -jest.mock('@components/MoneyReportHeaderActions/ExportDownloadStatusContext', () => ({ +jest.mock('@components/MoneyReportHeaderActions/ExportDownloadStatusProvider', () => ({ useExportDownloadStatus: () => ({trackExport: mockTrackExport}), }));