mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 22:21:45 +08:00
13 lines
373 B
JavaScript
13 lines
373 B
JavaScript
import { connect } from 'plugin-api/beta/client/hocs';
|
|
import { bindActionCreators } from 'redux';
|
|
import { loginWithGoogle } from '../actions';
|
|
import GoogleButton from '../components/GoogleButton';
|
|
|
|
const mapDispatchToProps = dispatch =>
|
|
bindActionCreators({ onClick: loginWithGoogle }, dispatch);
|
|
|
|
export default connect(
|
|
null,
|
|
mapDispatchToProps
|
|
)(GoogleButton);
|