[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.
 
 

16 lines
441 B

import { connect } from 'react-redux'
import { showNotification } from 'src/actions/notifications'
import { AppThunkDispatch, NotificationType } from 'src/types'
import Test from './test'
const mapDispatchToProps = (dispatch: AppThunkDispatch) => ({
show: async (type: NotificationType, content: string) => {
dispatch(showNotification(type, content))
},
})
export default connect(
null,
mapDispatchToProps
)(Test)