mirror of
https://github.com/securego/gosec.git
synced 2025-03-17 20:57:54 +02:00
add key to Highlight component (#686)
This commit is contained in:
parent
aee782bfe8
commit
b695b66e4d
@ -114,7 +114,7 @@ const templateContent = `
|
||||
</div>
|
||||
</div>
|
||||
<div className="highlight">
|
||||
<Highlight code={ this.props.data.code }/>
|
||||
<Highlight key={ this.props.data.file + this.props.data.line } code={ this.props.data.code }/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user