mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Fix: remove console.log to appease linter
This commit is contained in:
@@ -46,8 +46,6 @@ const useBeerPostsByBeerStyle = ({
|
|||||||
fetcher,
|
fetcher,
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(error);
|
|
||||||
|
|
||||||
const beerPosts = data?.flatMap((d) => d.beerPosts) ?? [];
|
const beerPosts = data?.flatMap((d) => d.beerPosts) ?? [];
|
||||||
const pageCount = data?.[0].pageCount ?? 0;
|
const pageCount = data?.[0].pageCount ?? 0;
|
||||||
const isLoadingMore = size > 0 && data && typeof data[size - 1] === 'undefined';
|
const isLoadingMore = size > 0 && data && typeof data[size - 1] === 'undefined';
|
||||||
|
|||||||
Reference in New Issue
Block a user