diff --git a/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx b/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx index 27dc7893d604..4fd6251ec644 100644 --- a/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx +++ b/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx @@ -365,7 +365,7 @@ const SettingsModalStackNavigator = createModalStackNavigator require('../../../../pages/workspace/reportFields/ReportFieldListValuesPage').default, [SCREENS.WORKSPACE.REPORT_FIELDS_ADD_VALUE]: () => require('../../../../pages/workspace/reportFields/ReportFieldAddListValuePage').default, [SCREENS.WORKSPACE.REPORT_FIELDS_VALUE_SETTINGS]: () => require('../../../../pages/workspace/reportFields/ValueSettingsPage').default, - [SCREENS.WORKSPACE.REPORT_FIELDS_EDIT_VALUE]: () => require('../../../../pages/workspace/reportFields/EditValuePage').default, + [SCREENS.WORKSPACE.REPORT_FIELDS_EDIT_VALUE]: () => require('../../../../pages/workspace/reportFields/ReportFieldEditValuePage').default, }); const EnablePaymentsStackNavigator = createModalStackNavigator({ diff --git a/src/pages/workspace/reportFields/EditValuePage.tsx b/src/pages/workspace/reportFields/ReportFieldEditValuePage.tsx similarity index 91% rename from src/pages/workspace/reportFields/EditValuePage.tsx rename to src/pages/workspace/reportFields/ReportFieldEditValuePage.tsx index a4a640fb9423..8509a364e4e0 100644 --- a/src/pages/workspace/reportFields/EditValuePage.tsx +++ b/src/pages/workspace/reportFields/ReportFieldEditValuePage.tsx @@ -21,13 +21,13 @@ import ONYXKEYS from '@src/ONYXKEYS'; import type SCREENS from '@src/SCREENS'; import INPUT_IDS from '@src/types/form/WorkspaceReportFieldsForm'; -type EditValuePageProps = StackScreenProps; +type ReportFieldEditValuePageProps = StackScreenProps; -function EditValuePage({ +function ReportFieldEditValuePage({ route: { params: {policyID, valueIndex}, }, -}: EditValuePageProps) { +}: ReportFieldEditValuePageProps) { const styles = useThemeStyles(); const {translate} = useLocalize(); const {inputCallbackRef} = useAutoFocusInput(); @@ -62,7 +62,7 @@ function EditValuePage({