text: import React, { Component } from 'react'
  import PropTypes from 'prop-types'
  import { connect } from 'react-redux'
  import { Logout } from 'components'
  import { logoutAndUnauth } from 'reduxConfig/modules/users'
  
  class LogoutContainer extends Component {
    static propTypes = {
      dispatch: PropTypes.func.isRequired,
    }
    componentDidMount () {
      this.props.dispatch(logoutAndUnauth())
    }
    render () {
      return <Logout />
    }
  }
  
  export default connect()(LogoutContainer)
  