diff --git a/src/CONST.ts b/src/CONST.ts index 8bb9099e168f..e317c19d96d2 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -6440,8 +6440,6 @@ const CONST = { }, MIGRATED_USER_WELCOME_MODAL: 'migratedUserWelcomeModal', - - DEFAULT_POLICY_ID: '-1', } as const; type Country = keyof typeof CONST.ALL_COUNTRIES; diff --git a/src/pages/workspace/accounting/intacct/import/SageIntacctToggleMappingsPage.tsx b/src/pages/workspace/accounting/intacct/import/SageIntacctToggleMappingsPage.tsx index 196d92c21120..aa89cf2f5097 100644 --- a/src/pages/workspace/accounting/intacct/import/SageIntacctToggleMappingsPage.tsx +++ b/src/pages/workspace/accounting/intacct/import/SageIntacctToggleMappingsPage.tsx @@ -52,7 +52,7 @@ function SageIntacctToggleMappingsPage({route}: SageIntacctToggleMappingsPagePro const policy = usePolicy(route.params.policyID); const mappingName: SageIntacctMappingName = route.params.mapping; - const policyID: string = policy?.id ?? CONST.DEFAULT_POLICY_ID; + const policyID: string = policy?.id ?? '-1'; const config = policy?.connections?.intacct?.config; const isImportMappingEnable = config?.mappings?.[mappingName] !== CONST.SAGE_INTACCT_MAPPING_VALUE.NONE; const isAccordionExpanded = useSharedValue(isImportMappingEnable); diff --git a/src/pages/workspace/accounting/qbo/import/QuickbooksLocationsPage.tsx b/src/pages/workspace/accounting/qbo/import/QuickbooksLocationsPage.tsx index 6451dd31fa0c..e93de6b12584 100644 --- a/src/pages/workspace/accounting/qbo/import/QuickbooksLocationsPage.tsx +++ b/src/pages/workspace/accounting/qbo/import/QuickbooksLocationsPage.tsx @@ -1,11 +1,9 @@ import React, {useCallback, useEffect} from 'react'; -import {View} from 'react-native'; import {useSharedValue} from 'react-native-reanimated'; import Accordion from '@components/Accordion'; import ConnectionLayout from '@components/ConnectionLayout'; import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription'; import OfflineWithFeedback from '@components/OfflineWithFeedback'; -import Text from '@components/Text'; import useLocalize from '@hooks/useLocalize'; import useThemeStyles from '@hooks/useThemeStyles'; import * as QuickbooksOnline from '@libs/actions/connections/QuickbooksOnline'; diff --git a/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx b/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx index 8e4f7fea61f8..005970a0647e 100644 --- a/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx +++ b/src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx @@ -1,5 +1,5 @@ -import {ReactNode, useEffect} from 'react'; -import React, {useMemo} from 'react'; +import type {ReactNode} from 'react'; +import React, {useEffect, useMemo} from 'react'; import {View} from 'react-native'; import type {StyleProp, TextStyle, ViewStyle} from 'react-native'; import {useSharedValue} from 'react-native-reanimated';