Remove unused prop

pull/4675/head
Andrew Watkins 2018-10-30 13:46:20 -07:00
parent 5983ef2dfc
commit 11f8ffd0e1
2 changed files with 1 additions and 3 deletions

View File

@ -4,12 +4,11 @@ import {Link} from 'react-router'
import KapacitorRulesTable from 'src/kapacitor/components/KapacitorRulesTable'
import TasksTable from 'src/kapacitor/components/TasksTable'
import {Source, AlertRule, Kapacitor} from 'src/types'
import {Source, AlertRule} from 'src/types'
interface KapacitorRulesProps {
source: Source
rules: AlertRule[]
kapacitor: Kapacitor
onDelete: (rule: AlertRule) => void
onChangeRuleStatus: (rule: AlertRule) => void
}

View File

@ -93,7 +93,6 @@ export class KapacitorRulesPage extends PureComponent<Props, State> {
<KapacitorRules
rules={rules}
source={source}
kapacitor={kapacitor}
onDelete={this.handleDeleteRule}
onChangeRuleStatus={this.handleRuleStatus}
/>