Avoids changing the transaction fee message while loading the estimation
This commit is contained in:
parent
4bf1a74b33
commit
42821c11d2
|
@ -21,6 +21,9 @@ export const TransactionFees = ({
|
|||
txEstimationExecutionStatus,
|
||||
}: TransactionFailTextProps): React.ReactElement | null => {
|
||||
let transactionAction
|
||||
if (txEstimationExecutionStatus === EstimationStatus.LOADING) {
|
||||
return null
|
||||
}
|
||||
if (isCreation) {
|
||||
transactionAction = 'create'
|
||||
} else if (isExecution) {
|
||||
|
|
|
@ -216,6 +216,7 @@ export const ReviewRemoveOwnerModal = ({
|
|||
isTransactionExecution={isExecution}
|
||||
/>
|
||||
|
||||
{txEstimationExecutionStatus === EstimationStatus.LOADING ? null : (
|
||||
<Block className={classes.gasCostsContainer}>
|
||||
<TransactionFees
|
||||
gasCostFormatted={gasCostFormatted}
|
||||
|
@ -224,8 +225,9 @@ export const ReviewRemoveOwnerModal = ({
|
|||
isOffChainSignature={isOffChainSignature}
|
||||
txEstimationExecutionStatus={txEstimationExecutionStatus}
|
||||
/>
|
||||
</Block>
|
||||
<Hairline />
|
||||
</Block>
|
||||
)}
|
||||
<Row align="center" className={classes.buttonRow}>
|
||||
<Button minHeight={42} minWidth={140} onClick={onClickBack}>
|
||||
Back
|
||||
|
|
Loading…
Reference in New Issue