From 47559d62b3e217c4bb06854c62ca985513610b91 Mon Sep 17 00:00:00 2001 From: MuckT Date: Mon, 9 Oct 2023 18:15:27 -0700 Subject: [PATCH] fix: optional fee fetching --- src/fees/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fees/hooks.ts b/src/fees/hooks.ts index f44d30ddf44..f9fd4cf4b78 100644 --- a/src/fees/hooks.ts +++ b/src/fees/hooks.ts @@ -65,7 +65,7 @@ export function useMaxSendAmount( ) { dispatch(estimateFee({ feeType, tokenAddress: tokenInfo.address })) } - }, [tokenInfo, shouldRefresh]) + }, [tokenInfo?.tokenId, shouldRefresh]) const celoAddress = useSelector(celoAddressSelector)