diff --git a/app/screens/AppNavigator/screens/Balances/ConvertScreen.tsx b/app/screens/AppNavigator/screens/Balances/ConvertScreen.tsx
index a1b676a1c6..ae38dc4e4e 100644
--- a/app/screens/AppNavigator/screens/Balances/ConvertScreen.tsx
+++ b/app/screens/AppNavigator/screens/Balances/ConvertScreen.tsx
@@ -2,8 +2,8 @@ import { CTransactionSegWit, TransactionSegWit } from '@defichain/jellyfish-tran
import { AddressToken } from '@defichain/whale-api-client/dist/api/address'
import { WhaleWalletAccount } from '@defichain/whale-api-wallet'
import { MaterialIcons } from '@expo/vector-icons'
+import { useNavigation } from '@react-navigation/native'
import { StackScreenProps } from '@react-navigation/stack'
-import { NavigationProp } from '@react-navigation/native'
import BigNumber from 'bignumber.js'
import * as React from 'react'
import { useEffect, useState } from 'react'
@@ -84,7 +84,7 @@ export function ConvertScreen (props: Props): JSX.Element {
unit={targetToken.unit}
balance={new BigNumber(targetToken.amount)}
/>
-
+
void }): JSX.Element {
)
}
-function TokenVsUtxosInfo (props: { navigation: NavigationProp}): JSX.Element {
+function TokenVsUtxosInfo (): JSX.Element {
+ const navigation = useNavigation()
return (
{
- props.navigation.navigate('TokensVsUtxo')
+ navigation.navigate('TokensVsUtxo')
}}
testID='token_vs_utxo_info'
>