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'; 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}), }));