diff --git a/react/components/AboutPage/index.js b/react/components/AboutPage/index.jsx similarity index 100% rename from react/components/AboutPage/index.js rename to react/components/AboutPage/index.jsx diff --git a/react/components/ActiveStatusBar/index.jsx b/react/components/ActiveStatusBar/index.jsx index 4f3737f5..69a98440 100644 --- a/react/components/ActiveStatusBar/index.jsx +++ b/react/components/ActiveStatusBar/index.jsx @@ -1,7 +1,7 @@ import React from 'react'; const ActiveStatusBar = () => { - return | ; -} + return | ; +}; export default ActiveStatusBar; diff --git a/react/components/AssetPreview/index.js b/react/components/AssetPreview/index.jsx similarity index 100% rename from react/components/AssetPreview/index.js rename to react/components/AssetPreview/index.jsx diff --git a/react/components/ErrorPage/index.js b/react/components/ErrorPage/index.jsx similarity index 100% rename from react/components/ErrorPage/index.js rename to react/components/ErrorPage/index.jsx diff --git a/react/components/ExpandingTextArea/index.jsx b/react/components/ExpandingTextArea/index.jsx index c6a3fdaf..db83c5d8 100644 --- a/react/components/ExpandingTextArea/index.jsx +++ b/react/components/ExpandingTextArea/index.jsx @@ -2,31 +2,32 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; class ExpandingTextarea extends Component { + constructor (props) { + super(props); + this._handleChange = this._handleChange.bind(this); + } componentDidMount () { this.adjustTextarea({}); } - - render () { - const { onChange, ...rest } = this.props; - return ( -