From 7948e4b2e08773e4dd8602185824669857aadff0 Mon Sep 17 00:00:00 2001
From: GurTati <118075413+gurtatiLND@users.noreply.github.com>
Date: Mon, 9 Dec 2024 23:09:16 +0000
Subject: [PATCH] refactor: add styles
---
src/app/toolkit/components/CategoriesBar.tsx | 112 +++++++++++++------
src/app/toolkit/components/ToolList.tsx | 2 +-
2 files changed, 80 insertions(+), 34 deletions(-)
diff --git a/src/app/toolkit/components/CategoriesBar.tsx b/src/app/toolkit/components/CategoriesBar.tsx
index 2c8df0d1..2d30e381 100644
--- a/src/app/toolkit/components/CategoriesBar.tsx
+++ b/src/app/toolkit/components/CategoriesBar.tsx
@@ -35,7 +35,7 @@ function CategoriesBar({ openModal, refreshCategories }: CategoriesBarProps) {
}
};
fetchCategories();
- }, [refreshCategories]);
+ }, [refreshCategories, database]);
const handleCategoriesClick = (category: string) => {
setSelectedCategories(
@@ -46,39 +46,85 @@ function CategoriesBar({ openModal, refreshCategories }: CategoriesBarProps) {
};
return (
-
-
-