Fix linter errors to allow builds to pass

pull/10616/head
Chris Goller 2017-04-20 11:46:59 -05:00
parent 2018f7300a
commit 4be9a1b27a
2 changed files with 7 additions and 7 deletions

View File

@ -120,8 +120,8 @@ class RowWrapper extends Component {
handleSubmit(e) {
e.preventDefault()
const code = e.target.code.value
const label = e.target.label.value
// const code = e.target.code.value
// const label = e.target.label.value
// updateTempVarsAsync({code, label})
}

View File

@ -187,11 +187,11 @@ export default function ui(state = initialState, action) {
d =>
(d.id === dashboardID
? {
...d,
templates: d.templates.map(
t => (t.id === templateID ? {...t, ...updates} : t)
),
}
...d,
templates: d.templates.map(
t => (t.id === templateID ? {...t, ...updates} : t)
),
}
: d)
)
return {...state, dashboards}