Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/AttachmentPicker/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import RNFetchBlob from 'react-native-blob-util';
import {launchImageLibrary} from 'react-native-image-picker';
import type {Asset, Callback, CameraOptions, ImageLibraryOptions, ImagePickerResponse} from 'react-native-image-picker';
import ImageSize from 'react-native-image-size';
import type {FileObject, ImagePickerResponse as FileResponse} from '@components/AttachmentModal';
import * as Expensicons from '@components/Icon/Expensicons';
import MenuItem from '@components/MenuItem';
import Popover from '@components/Popover';
Expand All @@ -20,6 +19,7 @@ import useStyleUtils from '@hooks/useStyleUtils';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import {cleanFileName, showCameraPermissionsAlert, verifyFileFormat} from '@libs/fileDownload/FileUtils';
import type {FileObject, ImagePickerResponse as FileResponse} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
import type IconAsset from '@src/types/utils/IconAsset';
Expand Down
2 changes: 1 addition & 1 deletion src/components/AttachmentPicker/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, {useRef} from 'react';
import type {ValueOf} from 'type-fest';
import type {FileObject} from '@components/AttachmentModal';
import {isMobileChrome} from '@libs/Browser';
import Visibility from '@libs/Visibility';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import type AttachmentPickerProps from './types';

Expand Down
2 changes: 1 addition & 1 deletion src/components/AttachmentPicker/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {ReactNode} from 'react';
import type {ValueOf} from 'type-fest';
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type CONST from '@src/CONST';

type PickerOptions = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Attachments/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type IconAsset from '@src/types/utils/IconAsset';

type AttachmentSource = string | IconAsset | number;
Expand Down
2 changes: 1 addition & 1 deletion src/components/AvatarWithImagePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import type {CustomRNImageManipulatorResult} from '@libs/cropOrRotateImage/types
import {splitExtensionFromFileName, validateImageForCorruption} from '@libs/fileDownload/FileUtils';
import getImageResolution from '@libs/fileDownload/getImageResolution';
import type {AvatarSource} from '@libs/UserUtils';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import variables from '@styles/variables';
import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
import type * as OnyxCommon from '@src/types/onyx/OnyxCommon';
import type IconAsset from '@src/types/utils/IconAsset';
import AttachmentModal from './AttachmentModal';
import type {FileObject} from './AttachmentModal';
import AttachmentPicker from './AttachmentPicker';
import Avatar from './Avatar';
import AvatarCropModal from './AvatarCropModal/AvatarCropModal';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Composer/implementation/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type {ForwardedRef} from 'react';
import React, {useCallback, useEffect, useMemo, useRef} from 'react';
import type {NativeSyntheticEvent, TextInput, TextInputChangeEventData, TextInputPasteEventData} from 'react-native';
import {StyleSheet} from 'react-native';
import type {FileObject} from '@components/AttachmentModal';
import type {ComposerProps} from '@components/Composer/types';
import type {AnimatedMarkdownTextInputRef} from '@components/RNMarkdownTextInput';
import RNMarkdownTextInput from '@components/RNMarkdownTextInput';
Expand All @@ -14,6 +13,7 @@ import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import {containsOnlyEmojis} from '@libs/EmojiUtils';
import {splitExtensionFromFileName} from '@libs/fileDownload/FileUtils';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';

const excludeNoStyles: Array<keyof MarkdownStyle> = [];
Expand Down
2 changes: 1 addition & 1 deletion src/components/Composer/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type {NativeSyntheticEvent, StyleProp, TextInputProps, TextInputSelectionChangeEventData, TextStyle} from 'react-native';
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

type TextSelection = {
start: number;
Expand Down
2 changes: 1 addition & 1 deletion src/components/FilePicker/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import {keepLocalCopy, pick, types} from '@react-native-documents/picker';
import React, {useCallback, useRef} from 'react';
import {Alert} from 'react-native';
import RNFetchBlob from 'react-native-blob-util';
import type {FileObject} from '@components/AttachmentModal';
import useLocalize from '@hooks/useLocalize';
import {cleanFileName} from '@libs/fileDownload/FileUtils';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type FilePickerProps from './types';

type LocalCopy = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/FilePicker/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type {ReactNode} from 'react';
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

type PickerOptions = {
/** A callback that will be called with the selected file. */
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type AddressSearch from '@components/AddressSearch';
import type AmountForm from '@components/AmountForm';
import type AmountPicker from '@components/AmountPicker';
import type AmountTextInput from '@components/AmountTextInput';
import type {FileObject} from '@components/AttachmentModal';
import type CheckboxWithLabel from '@components/CheckboxWithLabel';
import type CountryPicker from '@components/CountryPicker';
import type CountrySelector from '@components/CountrySelector';
Expand All @@ -27,6 +26,7 @@ import type TimeModalPicker from '@components/TimeModalPicker';
import type UploadFile from '@components/UploadFile';
import type ValuePicker from '@components/ValuePicker';
import type ConstantSelector from '@pages/Debug/ConstantSelector';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type OnboardingCurrencyPicker from '@pages/OnboardingWorkspaceConfirmation/OnboardingCurrencyPicker';
import type BusinessTypePicker from '@pages/ReimbursementAccount/USD/BusinessInfo/subSteps/TypeBusiness/BusinessTypePicker';
import type DimensionTypeSelector from '@pages/workspace/accounting/intacct/import/DimensionTypeSelector';
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImportOnyxState/BaseImportOnyxState.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';
import type {FileObject} from '@components/AttachmentModal';
import AttachmentPicker from '@components/AttachmentPicker';
import DecisionModal from '@components/DecisionModal';
import * as Expensicons from '@components/Icon/Expensicons';
import MenuItem from '@components/MenuItem';
import useLocalize from '@hooks/useLocalize';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useThemeStyles from '@hooks/useThemeStyles';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

function BaseImportOnyxState({
onFileRead,
Expand Down
4 changes: 2 additions & 2 deletions src/components/ImportOnyxState/index.native.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React, {useState} from 'react';
import ReactNativeBlobUtil from 'react-native-blob-util';
import {useOnyx} from 'react-native-onyx';
import type {FileObject} from '@components/AttachmentModal';
import {setIsUsingImportedState, setPreservedUserSession} from '@libs/actions/App';
import {setShouldForceOffline} from '@libs/actions/Network';
import {rollbackOngoingRequest} from '@libs/actions/PersistedRequests';
import {cleanAndTransformState, importState} from '@libs/ImportOnyxStateUtils';
import Navigation from '@libs/Navigation/Navigation';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type {OnyxValues} from '@src/ONYXKEYS';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
Expand All @@ -26,7 +26,7 @@ function readOnyxFile(fileUri: string) {

export default function ImportOnyxState({setIsLoading}: ImportOnyxStateProps) {
const [isErrorModalVisible, setIsErrorModalVisible] = useState(false);
const [session] = useOnyx(ONYXKEYS.SESSION);
const [session] = useOnyx(ONYXKEYS.SESSION, {canBeMissing: false});

const handleFileRead = (file: FileObject) => {
if (!file.uri) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/ImportOnyxState/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React, {useState} from 'react';
import {useOnyx} from 'react-native-onyx';
import type {FileObject} from '@components/AttachmentModal';
import {setIsUsingImportedState, setPreservedUserSession} from '@libs/actions/App';
import {setShouldForceOffline} from '@libs/actions/Network';
import {rollbackOngoingRequest} from '@libs/actions/PersistedRequests';
import {cleanAndTransformState, importState} from '@libs/ImportOnyxStateUtils';
import Navigation from '@libs/Navigation/Navigation';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type {OnyxValues} from '@src/ONYXKEYS';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
Expand All @@ -14,7 +14,7 @@ import type ImportOnyxStateProps from './types';

export default function ImportOnyxState({setIsLoading}: ImportOnyxStateProps) {
const [isErrorModalVisible, setIsErrorModalVisible] = useState(false);
const [session] = useOnyx(ONYXKEYS.SESSION);
const [session] = useOnyx(ONYXKEYS.SESSION, {canBeMissing: false});

const handleFileRead = (file: FileObject) => {
if (!file.uri) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImportSpreadsheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import {setSpreadsheetData} from '@libs/actions/ImportSpreadsheet';
import {canUseTouchScreen} from '@libs/DeviceCapabilities';
import {splitExtensionFromFileName} from '@libs/fileDownload/FileUtils';
import Navigation from '@libs/Navigation/Navigation';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
import ONYXKEYS from '@src/ONYXKEYS';
import type {Route as Routes} from '@src/ROUTES';
import type {FileObject} from './AttachmentModal';
import Button from './Button';
import ConfirmModal from './ConfirmModal';
import DragAndDropConsumer from './DragAndDrop/Consumer';
Expand Down
2 changes: 1 addition & 1 deletion src/components/UploadFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import useLocalize from '@hooks/useLocalize';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import {splitExtensionFromFileName} from '@libs/fileDownload/FileUtils';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import type {FileObject} from './AttachmentModal';
import AttachmentPicker from './AttachmentPicker';
import Button from './Button';
import DotIndicatorMessage from './DotIndicatorMessage';
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useFileValidation.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Str} from 'expensify-common';
import {useState} from 'react';
import type {FileObject} from '@components/AttachmentModal';
import {resizeImageIfNeeded, validateReceipt} from '@libs/fileDownload/FileUtils';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';

Expand Down
2 changes: 1 addition & 1 deletion src/libs/API/parameters/AddCommentOrAttachmentParams.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

type AddCommentOrAttachmentParams = {
reportID: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type {BeneficialOwnerDataKey} from '@src/types/form/ReimbursementAccountForm';

type SaveCorpayOnboardingBeneficialOwnerParams = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

type SaveCorpayOnboardingDirectorInformationParams = {
inputs: string;
Expand Down
8 changes: 2 additions & 6 deletions src/libs/ReportActionsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
import type {Card, Locale, OnyxInputOrEntry, OriginalMessageIOU, PrivatePersonalDetails} from '@src/types/onyx';
import type {Card, Locale, OnyxInputOrEntry, OriginalMessageIOU, Policy, PrivatePersonalDetails} from '@src/types/onyx';
import type {JoinWorkspaceResolution, OriginalMessageChangeLog, OriginalMessageExportIntegration} from '@src/types/onyx/OriginalMessage';
import type {PolicyReportFieldType} from '@src/types/onyx/Policy';
import type Report from '@src/types/onyx/Report';
Expand Down Expand Up @@ -2236,7 +2236,7 @@ function getWorkspaceFrequencyUpdateMessage(action: ReportAction): string {
});
}

function getWorkspaceCategoryUpdateMessage(action: ReportAction, policyID?: string): string {
function getWorkspaceCategoryUpdateMessage(action: ReportAction, policy?: OnyxEntry<Policy>): string {
const {categoryName, oldValue, newName, oldName, updatedField, newValue, currency} =
getOriginalMessage(action as ReportAction<typeof CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.ADD_CATEGORY>) ?? {};

Expand Down Expand Up @@ -2308,10 +2308,6 @@ function getWorkspaceCategoryUpdateMessage(action: ReportAction, policyID?: stri
}

if (updatedField === 'maxAmountNoReceipt' && typeof oldValue !== 'boolean' && typeof newValue !== 'boolean') {
// This will be fixed as part of https://github.com/Expensify/Expensify/issues/507850
// eslint-disable-next-line deprecation/deprecation
const policy = getPolicy(policyID);

const maxExpenseAmountToDisplay = policy?.maxExpenseAmountNoReceipt === CONST.DISABLED_MAX_EXPENSE_VALUE ? 0 : policy?.maxExpenseAmountNoReceipt;

const formatAmount = () => convertToShortDisplayString(maxExpenseAmountToDisplay, policy?.outputCurrency ?? CONST.CURRENCY.USD);
Expand Down
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import Onyx from 'react-native-onyx';
import type {SvgProps} from 'react-native-svg';
import type {OriginalMessageChangePolicy, OriginalMessageExportIntegration, OriginalMessageModifiedExpense, OriginalMessageMovedTransaction} from 'src/types/onyx/OriginalMessage';
import type {SetRequired, TupleToUnion, ValueOf} from 'type-fest';
import type {FileObject} from '@components/AttachmentModal';
import {FallbackAvatar, IntacctSquare, NetSuiteSquare, QBOSquare, XeroSquare} from '@components/Icon/Expensicons';
import * as defaultGroupAvatars from '@components/Icon/GroupDefaultAvatars';
import * as defaultWorkspaceAvatars from '@components/Icon/WorkspaceDefaultAvatars';
import type {MoneyRequestAmountInputProps} from '@components/MoneyRequestAmountInput';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type {IOUAction, IOUType, OnboardingAccounting, OnboardingCompanySize, OnboardingPurpose, OnboardingTaskLinks} from '@src/CONST';
import CONST from '@src/CONST';
import type {ParentNavigationSummaryParams} from '@src/languages/params';
Expand Down
2 changes: 1 addition & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type {NullishDeep, OnyxCollection, OnyxCollectionInputValue, OnyxEntry, O
import Onyx from 'react-native-onyx';
import type {PartialDeep, ValueOf} from 'type-fest';
import type {Emoji} from '@assets/emojis/types';
import type {FileObject} from '@components/AttachmentModal';
import * as ActiveClientManager from '@libs/ActiveClientManager';
import addEncryptedAuthTokenToURL from '@libs/addEncryptedAuthTokenToURL';
import * as API from '@libs/API';
Expand Down Expand Up @@ -153,6 +152,7 @@ import shouldSkipDeepLinkNavigation from '@libs/shouldSkipDeepLinkNavigation';
import playSound, {SOUNDS} from '@libs/Sound';
import {addTrailingForwardSlash} from '@libs/Url';
import Visibility from '@libs/Visibility';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONFIG from '@src/CONFIG';
import type {OnboardingAccounting, OnboardingCompanySize} from '@src/CONST';
import CONST from '@src/CONST';
Expand Down
2 changes: 1 addition & 1 deletion src/libs/actions/setTestReceipt/index.native.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Image} from 'react-native';
import ReactNativeBlobUtil from 'react-native-blob-util';
import type {FileObject} from '@components/AttachmentModal';
import Log from '@libs/Log';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import getFile from './getFile';
import type {SetTestReceipt} from './types';
Expand Down
2 changes: 1 addition & 1 deletion src/libs/actions/setTestReceipt/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type {ImageSourcePropType} from 'react-native';
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

type OnFileRead = (source: string, file: FileObject, filename: string) => void;

Expand Down
2 changes: 1 addition & 1 deletion src/libs/fileDownload/FileUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import {Str} from 'expensify-common';
import {Alert, Linking, Platform} from 'react-native';
import ImageSize from 'react-native-image-size';
import type {TupleToUnion} from 'type-fest';
import type {FileObject} from '@components/AttachmentModal';
import DateUtils from '@libs/DateUtils';
import getPlatform from '@libs/getPlatform';
import {translateLocal} from '@libs/Localize';
import Log from '@libs/Log';
import saveLastRoute from '@libs/saveLastRoute';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
import getImageManipulator from './getImageManipulator';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {manipulateAsync} from 'expo-image-manipulator';
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import type ImageManipulatorConfig from './type';

export default function getImageManipulator({fileUri, width, height, type, fileName}: ImageManipulatorConfig): Promise<FileObject> {
Expand Down
2 changes: 1 addition & 1 deletion src/libs/fileDownload/heicConverter/index.native.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {ImageManipulator, SaveFormat} from 'expo-image-manipulator';
import type {FileObject} from '@components/AttachmentModal';
import {verifyFileFormat} from '@libs/fileDownload/FileUtils';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import CONST from '@src/CONST';
import type {HeicConverterFunction} from './types';

Expand Down
2 changes: 1 addition & 1 deletion src/libs/fileDownload/heicConverter/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

type HeicConverterCallbacks = {
onSuccess?: (convertedFile: FileObject) => void;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/isFileUploadable/index.native.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

function isFileUploadable(file: FileObject | undefined): boolean {
// Native platforms only require the object to include the `uri` property.
Expand Down
2 changes: 1 addition & 1 deletion src/libs/isFileUploadable/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {FileObject} from '@components/AttachmentModal';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';

function isFileUploadable(file: FileObject | undefined): boolean {
return file instanceof Blob;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, {useCallback, useMemo, useState} from 'react';
import {View} from 'react-native';
import {useOnyx} from 'react-native-onyx';
import type {FileObject} from '@components/AttachmentModal';
import FormProvider from '@components/Form/FormProvider';
import InputWrapper from '@components/Form/InputWrapper';
import type {FormInputErrors, FormOnyxValues} from '@components/Form/types';
Expand All @@ -12,6 +11,7 @@ import useReimbursementAccountStepFormSubmit from '@hooks/useReimbursementAccoun
import type {SubStepProps} from '@hooks/useSubStep/types';
import useThemeStyles from '@hooks/useThemeStyles';
import {getFieldRequiredErrors} from '@libs/ValidationUtils';
import type {FileObject} from '@pages/media/AttachmentModalScreen/types';
import getNeededDocumentsStatusForBeneficialOwner from '@pages/ReimbursementAccount/NonUSD/utils/getNeededDocumentsStatusForBeneficialOwner';
import {clearErrorFields, setDraftValues, setErrorFields} from '@userActions/FormActions';
import CONST from '@src/CONST';
Expand Down
Loading