add filter read/want read when browsing books

This commit is contained in:
2025-11-07 16:09:54 +01:00
parent 844ddaa7dc
commit f8ad54392a
11 changed files with 171 additions and 53 deletions

View File

@@ -29,8 +29,8 @@ function useFetch(url) {
return { data, error }
}
export function getMyBooks() {
return useFetch(baseUrl + '/mybooks');
export function getMyBooks(arg) {
return useFetch(baseUrl + '/mybooks/' + arg);
}
export function getSearchBooks(searchterm) {