GladysProject/Gladys

View on GitHub
front/src/routes/settings/settings-service/index.js

Summary

Maintainability
A
55 mins
Test Coverage
import { Component } from 'preact';
import { connect } from 'unistore/preact';
import ServicesPage from './ServicesPage';
import actions from '../../../actions/integration';

class SettingsServices extends Component {
  componentWillMount() {
    this.props.getServices();
  }

  render(props, {}) {
    return <ServicesPage {...props} />;
  }
}

export default connect('services,integrations', actions)(SettingsServices);