From 75b2cc53a467a339715e7c8f6e89fdf855c77512 Mon Sep 17 00:00:00 2001 From: John Costa Date: Fri, 18 Jul 2025 16:02:26 +0100 Subject: [PATCH] fix: gallery --- frontend/src/components/search-card/SearchCard.tsx | 2 +- frontend/src/pages/gallery/index.tsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/search-card/SearchCard.tsx b/frontend/src/components/search-card/SearchCard.tsx index 4f93ba8..1c74025 100644 --- a/frontend/src/components/search-card/SearchCard.tsx +++ b/frontend/src/components/search-card/SearchCard.tsx @@ -26,7 +26,7 @@ export const SearchCard = (props: { item: UserImage }) => { return ( diff --git a/frontend/src/pages/gallery/index.tsx b/frontend/src/pages/gallery/index.tsx index a1c0c0e..8560c2a 100644 --- a/frontend/src/pages/gallery/index.tsx +++ b/frontend/src/pages/gallery/index.tsx @@ -24,8 +24,10 @@ const EntityGallery: Component<{ images().filter((i) => i.type === props.entity); return ( -
-

{props.entity}s

+
+

+ {props.entity}s ({filteredCategories().length}) +

{(category) => }