Commit 2112b695 by jaymehta

cancellation policy and terms conditions

1 parent acd5d738
...@@ -113,11 +113,7 @@ const ListingInner = ({ allActivitiesData, loading, totalCount }) => { ...@@ -113,11 +113,7 @@ const ListingInner = ({ allActivitiesData, loading, totalCount }) => {
); );
}, [activityFilters]); }, [activityFilters]);
useEffect(() => { useEffect(() => {
dispatch( dispatch(getActivitiesByFilters({ currentPage: router.query.page }));
getActivitiesByFilters({
currentPage: router.query.page
})
);
}, []); }, []);
return ( return (
......
...@@ -457,7 +457,9 @@ const ActivityDetails = ({ isUpdate }) => { ...@@ -457,7 +457,9 @@ const ActivityDetails = ({ isUpdate }) => {
duration: values.durationUnit.toString(), duration: values.durationUnit.toString(),
imagesComponent: imagesArrayComponent, imagesComponent: imagesArrayComponent,
image: displayImage, image: displayImage,
approved: "pending" approved: "pending",
termsConditions: termsConditions,
cancellationPolicy: cancellationPolicy
}; };
if (!ref.current.state.selected[0]) { if (!ref.current.state.selected[0]) {
toast.error("Please select location!"); toast.error("Please select location!");
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!