mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: Replace by fee mount
This commit is contained in:
parent
59a1402785
commit
99fcc34836
@ -57,11 +57,13 @@ const ReplaceFeeSuggestions: React.FC<ReplaceFeeSuggestionsProps> = ({ onFeeSele
|
|||||||
setNetworkFees(fees);
|
setNetworkFees(fees);
|
||||||
onFeeSelected(fees.fastestFee);
|
onFeeSelected(fees.fastestFee);
|
||||||
setSelectedFeeType(NetworkTransactionFeeType.FAST);
|
setSelectedFeeType(NetworkTransactionFeeType.FAST);
|
||||||
}, [onFeeSelected]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetchNetworkFees();
|
fetchNetworkFees();
|
||||||
}, [fetchNetworkFees]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, []);
|
||||||
|
|
||||||
const handleFeeSelection = (feeType: NetworkTransactionFeeType) => {
|
const handleFeeSelection = (feeType: NetworkTransactionFeeType) => {
|
||||||
if (feeType !== NetworkTransactionFeeType.CUSTOM) {
|
if (feeType !== NetworkTransactionFeeType.CUSTOM) {
|
||||||
|
Loading…
Reference in New Issue
Block a user