phodal/growth

View on GitHub
src/containers/discover/solution-detail/SolutionDetail.js

Summary

Maintainability
A
2 hrs
Test Coverage
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import HtmlView from '../../../components/HtmlView';

class SolutionDetail extends Component {
  static componentName = 'SolutionDetailView';

  static propTypes = {
    slug: PropTypes.string.isRequired,
  };

  static defaultProps = {
    slug: '',
  };

  render() {
    return <HtmlView domain={'solution'} slug={this.props.slug} />;
  }
}
export default SolutionDetail;