From e8965398e669e8232d3e6682f426b8acb441a685 Mon Sep 17 00:00:00 2001 From: sveisvei Date: Thu, 29 Jun 2017 09:11:28 +0200 Subject: [PATCH] fix lint --- .../component/strategies/list-component.jsx | 6 +++- .../strategies/strategy-details-component.jsx | 30 +++++++++---------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/frontend/src/component/strategies/list-component.jsx b/frontend/src/component/strategies/list-component.jsx index a56632a441..8cd20d985e 100644 --- a/frontend/src/component/strategies/list-component.jsx +++ b/frontend/src/component/strategies/list-component.jsx @@ -33,7 +33,11 @@ class StrategiesListComponent extends Component { {strategy.name} - {strategy.editable === false ? '' : removeStrategy(strategy)} />} + { + strategy.editable === false ? + '' : + removeStrategy(strategy)} /> + } )) : No entries} diff --git a/frontend/src/component/strategies/strategy-details-component.jsx b/frontend/src/component/strategies/strategy-details-component.jsx index e538baa16b..007776aa7c 100644 --- a/frontend/src/component/strategies/strategy-details-component.jsx +++ b/frontend/src/component/strategies/strategy-details-component.jsx @@ -61,23 +61,23 @@ export default class StrategyDetails extends Component { const tabContent = this.getTabContent(activeTabId); return ( - - - {strategy.editable === false ? '' : - this.goToTab('view')}> + + + {strategy.editable === false ? '' : + this.goToTab('view')}> Details - - this.goToTab('edit')}> + + this.goToTab('edit')}> Edit - - } + + } -
-
- {tabContent} -
-
-
-
); +
+
+ {tabContent} +
+
+ + ); } }