mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -05:00
docs: improve readme file
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user