Skip to content

Commit

Permalink
fix ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
ntdiary committed Jun 5, 2024
1 parent 6ffb67a commit 55e84c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/ConfirmModal.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type {ReactNode} from 'react';
import React from 'react';
import type {StyleProp, TextStyle, ViewStyle} from 'react-native';
import BaseModalProps from '@components/Modal/types';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useThemeStyles from '@hooks/useThemeStyles';
import CONST from '@src/CONST';
import type IconAsset from '@src/types/utils/IconAsset';
import ConfirmContent from './ConfirmContent';
import Modal from './Modal';
import type BaseModalProps from './Modal/types';

type ConfirmModalProps = {
/** Title of the modal */
Expand Down Expand Up @@ -77,7 +77,7 @@ type ConfirmModalProps = {
shouldEnableNewFocusManagement?: boolean;

/** How to re-focus after the modal is dismissed */
restoreFocusType: BaseModalProps['restoreFocusType'];
restoreFocusType?: BaseModalProps['restoreFocusType'];
};

function ConfirmModal({
Expand Down
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepWaypoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import InputWrapperWithRef from '@components/Form/InputWrapper';
import type {FormOnyxValues} from '@components/Form/types';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import * as Expensicons from '@components/Icon/Expensicons';
import BaseModalProps from '@components/Modal/types';
import type BaseModalProps from '@components/Modal/types';
import ScreenWrapper from '@components/ScreenWrapper';
import useLocalize from '@hooks/useLocalize';
import useLocationBias from '@hooks/useLocationBias';
Expand Down

0 comments on commit 55e84c0

Please sign in to comment.