mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 20:41:01 +08:00
10 lines
367 B
JavaScript
10 lines
367 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);
|