diff --git a/ui/src/kapacitor/components/ValuesSection.js b/ui/src/kapacitor/components/ValuesSection.js
index <HASH>..<HASH> 100644
--- a/ui/src/kapacitor/components/ValuesSection.js
+++ b/ui/src/kapacitor/components/ValuesSection.js
@@ -12,7 +12,7 @@ import {Tab, TabList, TabPanels, TabPanel, Tabs} from 'shared/components/Tabs'
 
 const TABS = ['Threshold', 'Relative', 'Deadman']
 
-const handleChooseTrigger = (rule, onChooseTrigger) => {
+const handleChooseTrigger = (rule, onChooseTrigger) => triggerIndex => {
   if (TABS[triggerIndex] === rule.trigger) {
     return
   }
Transform ValuesSection into an SFC