client/extensions/woocommerce/state/sites/settings/stripe-connect-account/reducer.js
function connectAccountOAuthInitComplete( state = {}, action ) {
	return Object.assign( {}, state, {
		isOAuthInitializing: false,
		error: action.error || '',
		oauthUrl: action.oauthUrl || '',
	} );
}
function connectAccountOAuthInitComplete( state = {}, action ) {
	return Object.assign( {}, state, {
		isOAuthInitializing: false,
		error: action.error || '',
		oauthUrl: action.oauthUrl || '',
	} );
}
function connectAccountOAuthInitComplete ( state = { } , action ) { return Object . assign ( { } , state , { isOAuthInitializing : false , error : action . error || '' , oauthUrl : action . oauthUrl || '' , } ) ; }
Updates state after oauth initialization completes

@param  {Object} state  Current state
@param  {Object} action Action payload
@return {Object}        Updated state
Updates state after oauth initialization completes