Skip to content

Commit

Permalink
Merge pull request #246 from ngrx/master
Browse files Browse the repository at this point in the history
Promote NodePort service creation
  • Loading branch information
GulajavaMinistudio authored Aug 7, 2019
2 parents 8e93000 + fabbfec commit 32d9e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/ngrx.io/content/guide/effects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ To show how you handle loading movies from the example above, let's look at `Mov

<code-example header="movie.effects.ts">
import { Injectable } from '@angular/core';
import { Actions, Effect, ofType } from '@ngrx/effects';
import { Actions, createEffect, ofType } from '@ngrx/effects';
import { EMPTY } from 'rxjs';
import { map, mergeMap, catchError } from 'rxjs/operators';
import { MoviesService } from './movies.service';
Expand Down Expand Up @@ -150,7 +150,7 @@ Effects are built on top of observable streams provided by RxJS. Effects are lis

<code-example header="movie.effects.ts">
import { Injectable } from '@angular/core';
import { Actions, Effect, ofType } from '@ngrx/effects';
import { Actions, createEffect, ofType } from '@ngrx/effects';
import { of } from 'rxjs';
import { map, mergeMap, catchError } from 'rxjs/operators';
import { MoviesService } from './movies.service';
Expand Down

0 comments on commit 32d9e32

Please sign in to comment.