@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.mjs CHANGED
@@ -5578,6 +5578,14 @@ const PathwayCard = (props) => {
5578
5578
  }
5579
5579
  );
5580
5580
  const filterClassName = "inline-block px-4 py-2 bg-gray-600 text-white rounded-full cursor-pointer text-sm";
5581
+ console.log("ACTIVE FILTERS:", Array.from(activeFilters));
5582
+ console.log("BADGE SAMPLE:", badges.slice(0, 5).map((b) => b.categories));
5583
+ console.log("MATCH TEST:", badges.slice(0, 5).map(
5584
+ (b) => {
5585
+ var _a2;
5586
+ return (_a2 = b.categories) == null ? void 0 : _a2.map((c) => activeFilters.has(c));
5587
+ }
5588
+ ));
5581
5589
  const toggleFilter = (id) => {
5582
5590
  setActiveFilters((prev) => {
5583
5591
  const next = new Set(prev);