diff --git a/frontend/src/component/archive/archive-list-component.jsx b/frontend/src/component/archive/archive-list-component.jsx index 77e32f1065..1757dcd75a 100644 --- a/frontend/src/component/archive/archive-list-component.jsx +++ b/frontend/src/component/archive/archive-list-component.jsx @@ -27,7 +27,7 @@ class ArchiveList extends Component { ))} ); - debugger; + return strategiesList; } renderStrategiesInList(feature) { diff --git a/frontend/src/component/common/index.js b/frontend/src/component/common/index.js index f704a9c8de..73145d6bc9 100644 --- a/frontend/src/component/common/index.js +++ b/frontend/src/component/common/index.js @@ -182,4 +182,4 @@ export function calc(value, total, decimal) { } export function getDisplayName(WrappedComponent) { return WrappedComponent.displayName || WrappedComponent.name || 'Component'; -}; +} diff --git a/frontend/src/component/feature/__tests__/progress-test.jsx b/frontend/src/component/feature/__tests__/progress-test.jsx index 8326fe9c16..b7bf7b1324 100644 --- a/frontend/src/component/feature/__tests__/progress-test.jsx +++ b/frontend/src/component/feature/__tests__/progress-test.jsx @@ -21,14 +21,14 @@ test('renders correctly with 0% done no fallback', () => { test('renders correctly with 15% done with fallback', () => { const percent = 15; - const tree = renderer.create(); + const tree = renderer.create(); expect(tree).toMatchSnapshot(); }); test('renders correctly with 0% done with fallback', () => { const percent = 0; - const tree = renderer.create(); + const tree = renderer.create(); expect(tree).toMatchSnapshot(); }); diff --git a/frontend/src/component/feature/form/form-add-feature-component.jsx b/frontend/src/component/feature/form/form-add-feature-component.jsx index addc3d9faa..03b8bc99e9 100644 --- a/frontend/src/component/feature/form/form-add-feature-component.jsx +++ b/frontend/src/component/feature/form/form-add-feature-component.jsx @@ -14,7 +14,7 @@ const trim = value => { }; class AddFeatureComponent extends Component { - //static displayName = `AddFeatureComponent-${getDisplayName(Component)}`; + // static displayName = `AddFeatureComponent-${getDisplayName(Component)}`; componentWillMount() { // TODO unwind this stuff if (this.props.initCallRequired === true) { diff --git a/frontend/src/component/feature/form/form-update-feature-component.jsx b/frontend/src/component/feature/form/form-update-feature-component.jsx index e47fa59aa7..b624f340ef 100644 --- a/frontend/src/component/feature/form/form-update-feature-component.jsx +++ b/frontend/src/component/feature/form/form-update-feature-component.jsx @@ -5,7 +5,7 @@ import StrategiesSection from './strategies-section-container'; import { FormButtons } from './../../common'; class UpdateFeatureComponent extends Component { - //static displayName = `UpdateFeatureComponent-{getDisplayName(Component)}`; + // static displayName = `UpdateFeatureComponent-{getDisplayName(Component)}`; componentWillMount() { // TODO unwind this stuff if (this.props.initCallRequired === true) { diff --git a/frontend/src/component/feature/form/strategy-input-list.jsx b/frontend/src/component/feature/form/strategy-input-list.jsx index f70a4e1e88..102b61eb6e 100644 --- a/frontend/src/component/feature/form/strategy-input-list.jsx +++ b/frontend/src/component/feature/form/strategy-input-list.jsx @@ -67,7 +67,9 @@ export default class InputList extends Component { label="Add list entry" onFocus={this.onFocus.bind(this)} onBlur={this.onBlur.bind(this)} - ref={(input) => { this.textInput = input; }} + ref={input => { + this.textInput = input; + }} />