src/Login/Sagas.js
/**
 *
 * @function googleLogin
 * initiate google auth process
 * @return (promise) google auth promise
 *
 */
@function googleLogin
initiate google auth process
@return (promise) google auth promise
@function googleLogin initiate google auth process @return ( promise ) google auth promise
function googleLogin (){
    const provider = new Auth.GoogleAuthProvider()
    provider.addScope(GOOGLE_LOGIN_API)
    return Auth().signInWithPopup(provider)
            .then(results => {
                return results
            })
            .catch(err => {
                return err
            })
}
function googleLogin ( ) { const provider = new Auth . GoogleAuthProvider ( ) provider . addScope ( GOOGLE_LOGIN_API ) return Auth ( ) . signInWithPopup ( provider ) . then ( results => { return results } ) . catch ( err => { return err } ) }
@function googleLogin
 initiate google auth process
 @return (promise) google auth promise
@function googleLogin initiate google auth process @return ( promise ) google auth promise