gab-social/app/javascript/gabsocial/features/compose/compose.js
mgabdev 998f00ae48 Progress on Gab Deck, Updates on Compose
• Progress on Gab Deck, Updates on Compose
2020-12-08 23:15:33 -05:00

19 lines
445 B
JavaScript

import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { clearCompose } from '../../actions/compose'
import ComposeFormContainer from './containers/compose_form_container'
class Compose extends React.PureComponent {
componentWillUnmount() {
this.props.dispatch(clearCompose())
}
render () {
return <ComposeFormContainer isStandalone />
}
}
export default connect()(Compose)