Skip to content

Commit

Permalink
Importing operators from rxjs instead of rxjs/operators
Browse files Browse the repository at this point in the history
  • Loading branch information
akunzai committed Jul 12, 2021
1 parent 2ee74c4 commit 301d4fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/todo/TodoService.ts
@@ -1,6 +1,5 @@
import { Observable, of } from 'rxjs';
import { catchError, map, Observable, of, switchMap } from 'rxjs';
import { fromFetch } from 'rxjs/fetch';
import { catchError, map, switchMap } from 'rxjs/operators';

import Todo from './Todo';

Expand Down

0 comments on commit 301d4fd

Please sign in to comment.