mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 12:05:52 +00:00
add key to Highlight component (#686)
This commit is contained in:
parent
aee782bfe8
commit
b695b66e4d
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ const templateContent = `
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="highlight">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue