Updates state after oauth initialization completes

@param  {Object} state  Current state
@param  {Object} action Action payload
@return {Object}        Updated state
function connectAccountOAuthInitComplete( state = {}, action ) {
	return Object.assign( {}, state, {
		isOAuthInitializing: false,
		error: action.error || '',
		oauthUrl: action.oauthUrl || '',
	} );
}