diff --git a/app/components/UI/Bridge/components/BatchSellDestinationTokenSelectorModal/index.tsx b/app/components/UI/Bridge/components/BatchSellDestinationTokenSelectorModal/index.tsx index bd03756a8c1..1c06e9390e9 100644 --- a/app/components/UI/Bridge/components/BatchSellDestinationTokenSelectorModal/index.tsx +++ b/app/components/UI/Bridge/components/BatchSellDestinationTokenSelectorModal/index.tsx @@ -36,7 +36,6 @@ import { RootState } from '../../../../../reducers'; import { BridgeToken } from '../../types'; import { formatTokenBalance } from '../../utils'; import { BatchSellDestinationTokenSelectorModalSelectorsIDs } from './BatchSellDestinationTokenSelectorModal.testIds'; -import { useElevatedSurface } from '../../../../../util/theme/themeUtils'; const getTokenKey = (token: BridgeToken) => `${token.chainId}:${token.address}`; @@ -87,7 +86,6 @@ export function BatchSellDestinationTokenSelectorModal() { chainIds: destinationChainIds ?? (sourceChainId ? [sourceChainId] : undefined), }); - const surfaceClass = useElevatedSurface(); const handleClose = useCallback(() => { sheetRef.current?.onCloseBottomSheet(); @@ -106,7 +104,6 @@ export function BatchSellDestinationTokenSelectorModal() { ref={sheetRef} goBack={navigation.goBack} testID={BatchSellDestinationTokenSelectorModalSelectorsIDs.SHEET} - twClassName={surfaceClass} > (null); const [isTokenDetailsExpanded, setIsTokenDetailsExpanded] = useState(false); const trackBatchSellReviewModalSubmitted = @@ -433,7 +431,6 @@ export function BatchSellFinalReviewModal() { ref={sheetRef} testID={BatchSellFinalReviewModalSelectorsIDs.SHEET} goBack={navigation.goBack} - twClassName={surfaceClass} > (); @@ -23,13 +22,11 @@ export function BatchSellMinimumReceivedInfoModal() { const handleBack = sourceModal ? () => navigation.replace(sourceModal.screen, sourceModal.params) : undefined; - const surfaceClass = useElevatedSurface(); return ( (); @@ -23,13 +22,11 @@ export function BatchSellNetworkFeeInfoModal() { const handleBack = sourceModal ? () => navigation.replace(sourceModal.screen, sourceModal.params) : undefined; - const surfaceClass = useElevatedSurface(); return ( (); const sourceTokens = useSelector(selectBatchSellSourceTokens); - const surfaceClass = useElevatedSurface(); const batchSellQuoteData = useBatchSellQuoteData({ shouldUpdateBatchSellTrades: false, }); @@ -49,7 +47,6 @@ export function BatchSellQuoteDetailsModal() { { sheetRef.current?.onCloseBottomSheet(); @@ -51,7 +49,6 @@ export function HighRateAlertModal() { ref={sheetRef} goBack={goBack} testID={HighRateAlertModalSelectorsIDs.SHEET} - twClassName={surfaceClass} > { const sheetRef = useRef(null); const [loading, setLoading] = useState(false); const { location } = useParams(); - const surfaceClass = useElevatedSurface(); const sourceToken = useSelector(selectSourceToken); const tokenBalance = useLatestBalance({ address: sourceToken?.address, @@ -66,11 +64,7 @@ export const MissingPriceModal = () => { }, [confirmBridge]); return ( - + { const { goBack } = useNavigation(); @@ -43,7 +42,6 @@ export const PriceImpactModal = () => { const priceImpactViewData = usePriceImpactViewData( activeQuote?.quote.priceData?.priceImpact, ); - const surfaceClass = useElevatedSurface(); const isDangerousPriceImpact = useMemo( () => @@ -68,7 +66,7 @@ export const PriceImpactModal = () => { }, [confirmBridge]); return ( - +