add filter read/want read when browsing books
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user