Commit 66080dbb by jaymehta

.

1 parent eb16a1c2
...@@ -14,6 +14,7 @@ import "swiper/css/navigation"; ...@@ -14,6 +14,7 @@ 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"; import Link from "next/link.js";
import ActiveLink from "../common/ActiveLink.js";
const LetDiscover = ({ categories }) => { const LetDiscover = ({ categories }) => {
const router = useRouter(); const router = useRouter();
return ( return (
...@@ -33,7 +34,7 @@ const LetDiscover = ({ categories }) => { ...@@ -33,7 +34,7 @@ const LetDiscover = ({ categories }) => {
</div> </div>
</motion.div> </motion.div>
<div className="view-all-btn"> <div className="view-all-btn">
<Link href={"/listing"} prefetch> <ActiveLink href={"/listing"} prefetch>
<Button <Button
// onClick={() => { // onClick={() => {
// router.push("/listing"); // router.push("/listing");
...@@ -42,7 +43,7 @@ const LetDiscover = ({ categories }) => { ...@@ -42,7 +43,7 @@ const LetDiscover = ({ categories }) => {
> >
View All View All
</Button> </Button>
</Link> </ActiveLink>
</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!