@local-civics/hub-ui 0.1.182 → 0.1.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5580,14 +5580,6 @@ const PathwayCard = (props) => {
|
|
|
5580
5580
|
}
|
|
5581
5581
|
);
|
|
5582
5582
|
const filterClassName = "inline-block px-4 py-2 bg-gray-600 text-white rounded-full cursor-pointer text-sm";
|
|
5583
|
-
console.log("ACTIVE FILTERS:", Array.from(activeFilters));
|
|
5584
|
-
console.log("BADGE SAMPLE:", badges.slice(0, 5).map((b) => b.categories));
|
|
5585
|
-
console.log("MATCH TEST:", badges.slice(0, 5).map(
|
|
5586
|
-
(b) => {
|
|
5587
|
-
var _a2;
|
|
5588
|
-
return (_a2 = b.categories) == null ? void 0 : _a2.map((c) => activeFilters.has(c));
|
|
5589
|
-
}
|
|
5590
|
-
));
|
|
5591
5583
|
const toggleFilter = (categoryId) => {
|
|
5592
5584
|
setActiveFilters((prev) => {
|
|
5593
5585
|
const next = new Set(prev);
|