Skip to content

Commit

Permalink
fix: unused gas adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss committed Jan 13, 2025
1 parent 988fdd7 commit 69f7263
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { SubHeader } from '@components/atoms';
import { GasPrice, NetworkFeeSettingInfo, NetworkFeeSettingType } from '@types';

import { BottomFixedButton } from '@components/molecules';
import NetworkFeeCustomInput from '@components/molecules/network-fee-custom-input/network-fee-custom-input';
import NetworkFeeSettingItem from '@components/molecules/network-fee-setting-item/network-fee-setting-item';
import BigNumber from 'bignumber.js';
import { NetworkFeeSettingWrapper } from './network-fee-setting.styles';
Expand All @@ -31,8 +30,6 @@ const NetworkFeeSetting: React.FC<NetworkFeeSettingProps> = ({
changedGasPrice,
networkFeeSettingType,
setNetworkFeeSetting,
gasPriceRatio,
setGasPriceRatio,
networkFeeSettings,
onClickBack,
onClickSave,
Expand Down Expand Up @@ -69,10 +66,6 @@ const NetworkFeeSetting: React.FC<NetworkFeeSettingProps> = ({
[networkFeeSettingType],
);

const onChangeCustomFee = (value: string): void => {
setGasPriceRatio(value);
};

return (
<NetworkFeeSettingWrapper>
<SubHeader
Expand All @@ -95,9 +88,11 @@ const NetworkFeeSetting: React.FC<NetworkFeeSettingProps> = ({
))}
</div>

{/* We need more information about the gas estimation.
<div className='custom-network-fee-input-wrapper'>
<NetworkFeeCustomInput value={gasPriceRatio} onChange={onChangeCustomFee} />
</div>
</div>
*/}
</div>

<BottomFixedButton
Expand Down

0 comments on commit 69f7263

Please sign in to comment.