Commit b4912241 by jaymehta

.

1 parent 6c336e82
...@@ -91,11 +91,11 @@ const Header = () => { ...@@ -91,11 +91,11 @@ const Header = () => {
onChange={selected => { onChange={selected => {
console.log("selected", selected); console.log("selected", selected);
// router.push("/listing"); // router.push("/listing");
if (selected[0]?.label.includes("experience")) { if (selected[0]?.label.includes("Experience")) {
// console.log("jjja"); console.log("jjja");
router.push(`/activities/${selected[0].id}`); router.push(`/activities/${selected[0].id}`);
} }
if (selected[0]?.label.includes("category")) { if (selected[0]?.label.includes("Category")) {
router.push(`/listing?category=${selected[0].id}`); router.push(`/listing?category=${selected[0].id}`);
// dispatch(setActivityFilters({ filters: { category: selected[0].id, subCategories: [] } })); // dispatch(setActivityFilters({ filters: { category: selected[0].id, subCategories: [] } }));
} }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!