diff --git a/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/CreateOrder/EditLimitPrice.tsx b/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/CreateOrder/EditLimitPrice.tsx index cc5ccbcc49..74ae20f445 100644 --- a/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/CreateOrder/EditLimitPrice.tsx +++ b/apps/wallet-mobile/src/features/Swap/useCases/StartSwapScreen/CreateOrder/EditLimitPrice.tsx @@ -1,7 +1,7 @@ /* eslint-disable react/jsx-newline */ import {useSwap} from '@yoroi/swap' import * as React from 'react' -import {Pressable, StyleSheet, Text, TextInput, View} from 'react-native' +import {StyleSheet, Text, TextInput, View} from 'react-native' import {useLanguage} from '../../../../../i18n' import {useSelectedWallet} from '../../../../../SelectedWallet' @@ -75,30 +75,20 @@ type AmountInputProps = { inputRef?: React.RefObject } const AmountInput = ({onChange, value, editable, inputRef}: AmountInputProps) => { - const amountInputRef = React.useRef(inputRef?.current ?? null) - - const focusInput = () => { - if (amountInputRef?.current) { - amountInputRef.current.focus() - } - } - return ( - - - + ) }