From 618cba21756097110c0a08983197e9af04c6b225 Mon Sep 17 00:00:00 2001 From: franco sanchez Date: Wed, 9 Oct 2024 20:34:05 -0300 Subject: [PATCH] chore: created a new component and other improvements --- src/components/AllBooks.tsx | 2 ++ src/components/ui/MobileResultBar.tsx | 31 +++++++++++++++++++++++++++ src/hooks/queries.ts | 2 ++ src/pages/Favorites.tsx | 25 +++------------------ src/pages/FilteredData.tsx | 26 +++++++++------------- src/pages/profile/Profile.tsx | 15 ++----------- 6 files changed, 50 insertions(+), 51 deletions(-) create mode 100644 src/components/ui/MobileResultBar.tsx diff --git a/src/components/AllBooks.tsx b/src/components/AllBooks.tsx index befd7be..e1b4ba0 100644 --- a/src/components/AllBooks.tsx +++ b/src/components/AllBooks.tsx @@ -21,6 +21,7 @@ import { SkeletonAllBooks } from '@components/skeletons/SkeletonABooks'; import { ResultLength } from '@components/aside/ResultLength'; import { MostViewed } from '@components/aside/MostViewed'; import { MyContainer } from '@components/ui/MyContainer'; +import { MobileResultBar } from '@components/ui/MobileResultBar'; export function AllBooks() { const { ref, inView } = useInView(); @@ -76,6 +77,7 @@ export function AllBooks() { return ( <> +