Fix missing key prop

This commit is contained in:
Willian Mitsuda 2021-09-18 15:46:29 -03:00
parent 4605bca7a5
commit 97c46e383d
1 changed files with 2 additions and 2 deletions

View File

@ -10,10 +10,10 @@ const DecodedLogSignature: React.FC<DecodedLogSignatureProps> = ({ event }) => {
<span> <span>
<span className="text-blue-900 font-bold">{event.name}</span>( <span className="text-blue-900 font-bold">{event.name}</span>(
{event.inputs.map((input, i) => ( {event.inputs.map((input, i) => (
<> <span key={i}>
{i > 0 ? ", " : ""} {i > 0 ? ", " : ""}
<span>{input.format("full")}</span> <span>{input.format("full")}</span>
</> </span>
))} ))}
){event.anonymous ? " anonymous" : ""} ){event.anonymous ? " anonymous" : ""}
</span> </span>