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} resolvedAddresses={resolvedAddresses}
/> />
</div> </div>
<div className="flex"> <div className="ml-5 space-y-3">
<div className="w-5"></div> {traces?.map((t, i, a) => (
<div className="space-y-3"> <TraceItem
{traces?.map((t, i, a) => ( key={i}
<TraceItem t={t}
key={i} txData={txData}
t={t} last={i === a.length - 1}
txData={txData} fourBytesMap={sigMap}
last={i === a.length - 1} resolvedAddresses={mergedResolvedAddresses}
fourBytesMap={sigMap} />
resolvedAddresses={mergedResolvedAddresses} ))}
/>
))}
</div>
</div> </div>
</div> </div>
</ContentFrame> </ContentFrame>