diff --git a/frontend/src/front/index.tsx b/frontend/src/front/index.tsx index 5a0df99..8ac4174 100644 --- a/frontend/src/front/index.tsx +++ b/frontend/src/front/index.tsx @@ -8,34 +8,30 @@ const CategoryColor: Record< keyof ReturnType, string > = { - contact: "bg-red-500", - location: "bg-green-500", - event: "bg-blue-500", - note: "bg-purple-500", + contact: "bg-orange-50", + location: "bg-red-50", + event: "bg-purple-50", + note: "bg-green-50", }; export const Categories: Component = () => { const { categories } = useSearchImageContext(); - createEffect(() => { - console.log(categories()); - }); - return ( -
+
{([category, group]) => (
-

- {category}: {group.length} -

+

{category}s

+

{group.length}

)}