diff --git a/src/components/EmptyStateComponent/index.tsx b/src/components/EmptyStateComponent/index.tsx index 4cc19675c78a..d2138bef3c8b 100644 --- a/src/components/EmptyStateComponent/index.tsx +++ b/src/components/EmptyStateComponent/index.tsx @@ -4,7 +4,6 @@ import {View} from 'react-native'; import Button from '@components/Button'; import ImageSVG from '@components/ImageSVG'; import Lottie from '@components/Lottie'; -import ScrollView from '@components/ScrollView'; import Text from '@components/Text'; import VideoPlayer from '@components/VideoPlayer'; import useResponsiveLayout from '@hooks/useResponsiveLayout'; @@ -27,9 +26,7 @@ function EmptyStateComponent({ headerStyles, headerContentStyles, lottieWebViewStyles, - showsVerticalScrollIndicator, minModalHeight = 400, - shouldEnableScroll = true, }: EmptyStateComponentProps) { const styles = useThemeStyles(); const [videoAspectRatio, setVideoAspectRatio] = useState(VIDEO_ASPECT_RATIO); @@ -85,13 +82,8 @@ function EmptyStateComponent({ }, [headerMedia, headerMediaType, headerContentStyles, videoAspectRatio, styles.emptyStateVideo, lottieWebViewStyles]); return ( - - + + - + ); } diff --git a/src/components/EmptyStateComponent/types.ts b/src/components/EmptyStateComponent/types.ts index 4f31ef2a86f7..7a6aee2760b3 100644 --- a/src/components/EmptyStateComponent/types.ts +++ b/src/components/EmptyStateComponent/types.ts @@ -25,7 +25,6 @@ type SharedProps = { lottieWebViewStyles?: React.CSSProperties | undefined; minModalHeight?: number; showsVerticalScrollIndicator?: boolean; - shouldEnableScroll?: boolean; }; type MediaType = SharedProps & { diff --git a/src/pages/workspace/expensifyCard/EmptyCardView.tsx b/src/pages/workspace/expensifyCard/EmptyCardView.tsx index 6d67d31045ba..1902a4c60810 100644 --- a/src/pages/workspace/expensifyCard/EmptyCardView.tsx +++ b/src/pages/workspace/expensifyCard/EmptyCardView.tsx @@ -48,7 +48,6 @@ function EmptyCardView({isBankAccountVerified}: EmptyCardViewProps) { subtitle={translate(`workspace.expensifyCard.${isBankAccountVerified ? 'getStartedIssuing' : 'verifyingTheDetails'}`)} headerContentStyles={isBankAccountVerified ? null : styles.pendingStateCardIllustration} minModalHeight={isBankAccountVerified ? 500 : 400} - shouldEnableScroll={false} /> {translate('workspace.expensifyCard.disclaimer')}