diff --git a/package.json b/package.json index 1c4058e09..bfd1ef9de 100644 --- a/package.json +++ b/package.json @@ -118,9 +118,9 @@ "qs": "^5.2.0", "raf": "^3.2.0", "rc-slider": "^3.7.2", - "react": "^15.1.0", + "react": "^15.2.0", "react-addons-css-transition-group": "^15.2.0", - "react-addons-test-utils": "^0.14.0", + "react-addons-test-utils": "^15.2.0", "react-burger-menu": "^1.4.4", "react-dom": "^15.1.0", "react-flex-carousel": "^0.1.7", @@ -162,7 +162,7 @@ "chai": "^3.3.0", "chai-as-promised": "^5.1.0", "compression": "^1.6.0", - "eslint": "1.8.0", + "eslint": "1.10.3", "eslint-config-rackt": "^1.1.1", "eslint-loader": "^1.0.0", "eslint-plugin-babel": "^3.0.0", diff --git a/src/components/article/Audio.js b/src/components/article/Audio.js index 98e84d733..477647fc3 100644 --- a/src/components/article/Audio.js +++ b/src/components/article/Audio.js @@ -191,12 +191,12 @@ class Audio extends React.Component { } render() { - const { content } = this.props + const { content, device } = this.props const { duration, isFocused, isOncePlayed, isPlaying, seek } = this.state const { url, coverPhoto, title, description } = _.get(content, 0, {}) return ( -