Skip to content

Commit

Permalink
remove unused variables from policy dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahd93 committed Jul 31, 2019
1 parent d2dc30e commit 4787a67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gsa/src/web/pages/policies/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const Dialog = ({
comment = '',
name = _('Unnamed'),
scanner_id,
scanners = [],
title = _('New Policy'),
onClose,
onSave,
Expand All @@ -50,7 +49,6 @@ const Dialog = ({
comment,
name,
scanner_id,
usage_type: 'policy',
};

return (
Expand Down Expand Up @@ -98,7 +96,6 @@ Dialog.propTypes = {
comment: PropTypes.string,
name: PropTypes.string,
scanner_id: PropTypes.id,
scanners: PropTypes.array,
title: PropTypes.string,
onClose: PropTypes.func.isRequired,
onSave: PropTypes.func.isRequired,
Expand Down

0 comments on commit 4787a67

Please sign in to comment.