Commit 2f53fef8 by jaymehta

.

1 parent 98b6b50c
...@@ -13,6 +13,7 @@ import "swiper/css/pagination"; ...@@ -13,6 +13,7 @@ import "swiper/css/pagination";
import "swiper/css/navigation"; import "swiper/css/navigation";
import { cleanImage } from "../../services/imageHandling.js"; import { cleanImage } from "../../services/imageHandling.js";
import { useRouter } from "next/router.js"; import { useRouter } from "next/router.js";
import Link from "next/link.js";
const LetDiscover = ({ categories }) => { const LetDiscover = ({ categories }) => {
const router = useRouter(); const router = useRouter();
return ( return (
...@@ -32,14 +33,16 @@ const LetDiscover = ({ categories }) => { ...@@ -32,14 +33,16 @@ const LetDiscover = ({ categories }) => {
</div> </div>
</motion.div> </motion.div>
<div className="view-all-btn"> <div className="view-all-btn">
<Link href={"/listing"} >
<Button <Button
onClick={() => { // onClick={() => {
router.push("/listing"); // router.push("/listing");
}} // }}
variant="primary" variant="primary"
> >
View All View All
</Button> </Button>
</Link>
</div> </div>
</div> </div>
</div> </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!