docs: improve readme file

This commit is contained in:
Devesh
2023-10-17 08:38:06 +05:30
parent da77f4160d
commit b62c151794
2 changed files with 18 additions and 25 deletions

View File

@@ -38,11 +38,11 @@ export class AppComponent {
ngOnInit() {
this.submit$$
.pipe(
takeUntilDestroyed(this.destroyRef),
map(() => this.input),
concatMap((value) =>
this.http.get(`https://jsonplaceholder.typicode.com/${value}/1`)
)
),
takeUntilDestroyed(this.destroyRef)
)
.subscribe({
next: (value) => {