Different color for STATICCALL

This commit is contained in:
Willian Mitsuda 2021-10-27 01:18:18 -03:00
parent 309739e547
commit 277fa8f37c
1 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,11 @@ const TraceItem: React.FC<TraceItemProps> = ({ t, txData, last }) => {
</AddressHighlighter>
</span>
<span>.</span>
<span className="font-bold text-blue-900">
<span
className={`font-bold ${
t.type === "STATICCALL" ? "text-red-700" : "text-blue-900"
}`}
>
{fourBytesEntry ? fourBytesEntry.name : raw4Bytes}
</span>
<span>(</span>