mirror of
https://github.com/securego/gosec.git
synced 2026-01-15 09:53:40 +08:00
add key to Highlight component (#686)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user