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