Skip to content

Commit 126a2d4

Browse files
authored
fix: visible network fee when error (#702)
1 parent 8e88541 commit 126a2d4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/adena-extension/src/hooks/wallet/use-network-fee.ts

-7
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,6 @@ export const useNetworkFee = (
152152
return null;
153153
}
154154

155-
if (currentGasInfo.hasError) {
156-
return {
157-
amount: '0',
158-
denom: '',
159-
};
160-
}
161-
162155
const networkFeeAmount = BigNumber(currentGasInfo.gasFee)
163156
.shiftedBy(-GasToken.decimals)
164157
.toFixed(GasToken.decimals)

0 commit comments

Comments
 (0)