Remove unnecessary nested divs

This commit is contained in:
Willian Mitsuda 2021-11-07 17:52:29 -03:00
parent fc1f0fe196
commit 17cb352a1f
1 changed files with 11 additions and 14 deletions

View File

@ -42,20 +42,17 @@ const Trace: React.FC<TraceProps> = ({ txData, resolvedAddresses }) => {
resolvedAddresses={resolvedAddresses}
/>
</div>
<div className="flex">
<div className="w-5"></div>
<div className="space-y-3">
{traces?.map((t, i, a) => (
<TraceItem
key={i}
t={t}
txData={txData}
last={i === a.length - 1}
fourBytesMap={sigMap}
resolvedAddresses={mergedResolvedAddresses}
/>
))}
</div>
<div className="ml-5 space-y-3">
{traces?.map((t, i, a) => (
<TraceItem
key={i}
t={t}
txData={txData}
last={i === a.length - 1}
fourBytesMap={sigMap}
resolvedAddresses={mergedResolvedAddresses}
/>
))}
</div>
</div>
</ContentFrame>