Use simpler destructuring shorthand

pull/1112/head
Jared Scheib 2017-03-29 10:53:44 -07:00
parent 7d5799fb9e
commit 627d65e39f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const DashboardsPage = React.createClass({
},
render() {
const {dashboards: dashboards} = this.props
const {dashboards} = this.props
const dashboardLink = `/sources/${this.props.source.id}`
let tableHeader
if (dashboards === null) {