Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { FIREBASE } from './promiseMiddleware';
- export const googleLogin = (callBack) => ({
- [FIREBASE]: {
- withFirebase: (firebase, providers) => firebase.auth().signInWithPopup(providers.google),
- types: ['GOOGLE_AUTH', 'GOOGLE_AUTH_SUCCESS', 'GOOGLE_AUTH_FAILURE'],
- callBack
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement