@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.js
CHANGED
|
@@ -5600,14 +5600,6 @@ const PathwayCard = (props) => {
|
|
|
5600
5600
|
}
|
|
5601
5601
|
);
|
|
5602
5602
|
const filterClassName = "inline-block px-4 py-2 bg-gray-600 text-white rounded-full cursor-pointer text-sm";
|
|
5603
|
-
console.log("ACTIVE FILTERS:", Array.from(activeFilters));
|
|
5604
|
-
console.log("BADGE SAMPLE:", badges.slice(0, 5).map((b) => b.categories));
|
|
5605
|
-
console.log("MATCH TEST:", badges.slice(0, 5).map(
|
|
5606
|
-
(b) => {
|
|
5607
|
-
var _a2;
|
|
5608
|
-
return (_a2 = b.categories) == null ? void 0 : _a2.map((c) => activeFilters.has(c));
|
|
5609
|
-
}
|
|
5610
|
-
));
|
|
5611
5603
|
const toggleFilter = (categoryId) => {
|
|
5612
5604
|
setActiveFilters((prev) => {
|
|
5613
5605
|
const next = new Set(prev);
|