Commit ce2ceb9e by jaymehta

.

1 parent 9b78055a
...@@ -13,7 +13,7 @@ const SearchBar = () => { ...@@ -13,7 +13,7 @@ const SearchBar = () => {
const [options, setoptions] = useState([]); const [options, setoptions] = useState([]);
const dispatch = useDispatch(); const dispatch = useDispatch();
const router = useRouter(); const router = useRouter();
console.log("options", options); // console.log("options", options);
return ( return (
<> <>
<section className="searchbar-session"> <section className="searchbar-session">
...@@ -67,7 +67,7 @@ const SearchBar = () => { ...@@ -67,7 +67,7 @@ const SearchBar = () => {
return { id: item.id, label: `${item.name} - experience` }; return { id: item.id, label: `${item.name} - experience` };
}); });
} }
console.log("opts", opts); // console.log("opts", opts);
setoptions(opts); setoptions(opts);
setopen(true); setopen(true);
} }
......
...@@ -17,7 +17,7 @@ const Header = () => { ...@@ -17,7 +17,7 @@ const Header = () => {
const { endUser } = useSelector(state => state.endUser); const { endUser } = useSelector(state => state.endUser);
const [open, setopen] = useState(false); const [open, setopen] = useState(false);
const [options, setoptions] = useState([]); const [options, setoptions] = useState([]);
console.log("options", options); // console.log("options", options);
const dispatch = useDispatch(); const dispatch = useDispatch();
// console.log("user", loadedUser); // console.log("user", loadedUser);
const [isSticky, setIsSticky] = useState(false); const [isSticky, setIsSticky] = useState(false);
...@@ -121,7 +121,7 @@ const Header = () => { ...@@ -121,7 +121,7 @@ const Header = () => {
return { id: item.id, label: `${item.name} - experience` }; return { id: item.id, label: `${item.name} - experience` };
}); });
} }
console.log("opts", opts); // console.log("opts", opts);
setoptions(opts); setoptions(opts);
setopen(true); setopen(true);
} }
......
...@@ -118,7 +118,7 @@ const ListingItems = ({ allActivitiesData, loading, gridClass, totalCount }) => ...@@ -118,7 +118,7 @@ const ListingItems = ({ allActivitiesData, loading, gridClass, totalCount }) =>
itemsCountPerPage={12} itemsCountPerPage={12}
totalItemsCount={totalCount} totalItemsCount={totalCount}
onChange={async (e) => { onChange={async (e) => {
console.log(e); console.log("log >",e);
await handlePagination(e); await handlePagination(e);
dispatch(getActivitiesByFilters({ currentPage: e })); dispatch(getActivitiesByFilters({ currentPage: e }));
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!