import React, { Component } from 'react';
import PropTypes from 'prop-types';

export default WrappedComponent =>
  class WithSelektor extends Component {
    static childContextTypes = {
      skeletorLoading: PropTypes.bool,
    };

    state = { isLoading: true };

    getChildContext() {
      const { isLoading } = this.state;

      return { skeletorLoading: isLoading };
    }

    componentWillReceiveProps({ isLoading }) {
      if (this.props.isLoading !== isLoading) {
        this.setState({ isLoading });
      }
    }

    render() {
      return <WrappedComponent {...this.props} />;
    }
  };

@@ -258,11 +258,27 @@
 g: t
-rue
+his.props.isLoading
  %7D;%0A

fix error skeletor