Fix shelf

This commit is contained in:
aditya.chandel
2025-01-16 00:18:20 -07:00
parent 532246b18b
commit 50dd24e9f2
5 changed files with 5 additions and 9 deletions
@@ -22,6 +22,10 @@ export class ShelfService {
private http = inject(HttpClient);
private bookService = inject(BookService);
constructor() {
this.loadShelves();
}
private loadShelves(): void {
this.http.get<Shelf[]>(this.url).pipe(
catchError(error => {