Fix flickering when there is no internal ops inside tx

This commit is contained in:
Willian Mitsuda 2021-08-02 17:16:34 -03:00
parent 46bc4a7a11
commit 795d054a38
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ const Details: React.FC<DetailsProps> = ({
<Copy value={txData.createdContractAddress!} /> <Copy value={txData.createdContractAddress!} />
</div> </div>
)} )}
{internalOps && ( {internalOps && internalOps.length > 0 && (
<div className="mt-2 space-y-1"> <div className="mt-2 space-y-1">
{internalOps.map((op, i) => ( {internalOps.map((op, i) => (
<InternalTransactionOperation <InternalTransactionOperation