[ABANDONED] React/Redux front end for the Flexor social network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
510 B

import { connect } from 'react-redux'
import { ThunkDispatch } from 'redux-thunk'
import { fetchGroups, FetchGroupsAction } from '../../../actions/groups'
import { AppState } from '../../../types'
import Register from './register'
const mapStateToProps = () => {
}
const mapDispatchToProps = (dispatch: ThunkDispatch<AppState, void, FetchGroupsAction>) => ({
fetchGroups: () => {
dispatch(fetchGroups())
}
})
export default connect(
mapStateToProps,
mapDispatchToProps
)(Register)