GladysProject/Gladys

View on GitHub
front/src/routes/integration/all/melcloud/edit-page/index.js

Summary

Maintainability
A
1 hr
Test Coverage
import { connect } from 'unistore/preact';
import MELCloudPage from '../MELCloudPage';
import UpdateDevice from '../../../../../components/device';

const EditMELCloudDevice = props => (
  <MELCloudPage user={props.user}>
    <UpdateDevice
      {...props}
      integrationName="melcloud"
      allowModifyFeatures={false}
      previousPage="/dashboard/integration/device/melcloud"
    />
  </MELCloudPage>
);

export default connect('user,session,httpClient,currentIntegration,houses', {})(EditMELCloudDevice);