Skip to content

Commit

Permalink
Get rid of no shadow warning
Browse files Browse the repository at this point in the history
  • Loading branch information
saberlynx committed Sep 22, 2020
1 parent 6dca5ff commit f273d9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gsa/src/web/pages/policies/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ class PolicyComponent extends React.Component {
onEditNvtDetailsClick={this.openEditNvtDetailsDialog}
onSave={d => {
this.handleInteraction();
// eslint-disable-next-line no-shadow
const {name, comment, id} = d;
let saveData = d;
if (policy.isInUse()) {
Expand Down

0 comments on commit f273d9a

Please sign in to comment.