FIX: Replace by fee mount

This commit is contained in:
Marcos Rodriguez Velez 2024-06-15 13:17:09 -04:00
parent 59a1402785
commit 99fcc34836
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -57,11 +57,13 @@ const ReplaceFeeSuggestions: React.FC<ReplaceFeeSuggestionsProps> = ({ onFeeSele
setNetworkFees(fees);
onFeeSelected(fees.fastestFee);
setSelectedFeeType(NetworkTransactionFeeType.FAST);
}, [onFeeSelected]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect(() => {
fetchNetworkFees();
}, [fetchNetworkFees]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const handleFeeSelection = (feeType: NetworkTransactionFeeType) => {
if (feeType !== NetworkTransactionFeeType.CUSTOM) {