From e3131a3835230ff0d3185ccc63e546e827a639d0 Mon Sep 17 00:00:00 2001 From: Alex Windett Date: Tue, 7 Feb 2017 17:18:43 +0000 Subject: [PATCH] seperating toggle into seperate component file --- frontend/src/containers/services/index.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/containers/services/index.js b/frontend/src/containers/services/index.js index 02f894a0..31a7b4d1 100644 --- a/frontend/src/containers/services/index.js +++ b/frontend/src/containers/services/index.js @@ -3,13 +3,13 @@ const ReactRedux = require('react-redux'); const EmptyServices = require('@components/empty/services'); const PropTypes = require('@root/prop-types'); -const ServiceItem = require('@components/service-item'); +const ServiceItem = require('@components/service/item'); +const ServiceViewToggle = require('@components/service/view-toggle'); const selectors = require('@state/selectors'); const Row = require('@ui/components/row'); const Column = require('@ui/components/column'); const BaseELements = require('@ui/components/base-elements'); -const Toggle = require('@ui/components/toggle'); const { connect @@ -47,11 +47,9 @@ const Services = ({

Services

-
- View - -
+ + + {empty} {serviceList}