mirror of
https://github.com/wassname/talk.git
synced 2026-08-20 12:50:41 +08:00
add Google auth plugin
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user