diff options
Diffstat (limited to 'src/components/services/content/ServiceView.js')
-rw-r--r-- | src/components/services/content/ServiceView.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index 1ffdd2153..6fc1f1400 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -16,8 +16,6 @@ import SettingsStore from '../../../stores/SettingsStore'; | |||
16 | import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen'; | 16 | import WebControlsScreen from '../../../features/webControls/containers/WebControlsScreen'; |
17 | import { CUSTOM_WEBSITE_RECIPE_ID } from '../../../config'; | 17 | import { CUSTOM_WEBSITE_RECIPE_ID } from '../../../config'; |
18 | 18 | ||
19 | @inject('stores', 'actions') | ||
20 | @observer | ||
21 | class ServiceView extends Component { | 19 | class ServiceView extends Component { |
22 | static propTypes = { | 20 | static propTypes = { |
23 | service: PropTypes.instanceOf(ServiceModel).isRequired, | 21 | service: PropTypes.instanceOf(ServiceModel).isRequired, |
@@ -163,4 +161,4 @@ class ServiceView extends Component { | |||
163 | } | 161 | } |
164 | } | 162 | } |
165 | 163 | ||
166 | export default ServiceView; | 164 | export default inject('stores', 'actions')(observer(ServiceView)); |