category and logout fiexes

This commit is contained in:
Patryk
2025-06-09 21:17:30 +02:00
parent 207f8f7161
commit c2d4f5fb79
5 changed files with 21 additions and 31 deletions

View File

@@ -19,7 +19,7 @@ export function CategorySection({ notices, title }) {
};
fetchCategories();
});
}, []);
const categories = Array.from(
new Set(notices.map((notice) => notice.category))