From 2c1a4a59541176ee7bed1c69d709a9504859ee34 Mon Sep 17 00:00:00 2001 From: Preksha Pravin Salvi Date: Fri, 2 Jan 2026 19:19:49 +0530 Subject: [PATCH] fix: prevent hydration errors in header navigation Signed-off-by: Preksha Pravin Salvi --- components/nav/productSection.tsx | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/components/nav/productSection.tsx b/components/nav/productSection.tsx index ecd0ae07..89a0b715 100644 --- a/components/nav/productSection.tsx +++ b/components/nav/productSection.tsx @@ -12,6 +12,7 @@ import AutomaticMocking from "@/public/images/navBarIcons/AutomaticMocking"; import CICD from "@/public/images/navBarIcons/CICD"; import MultiPurposeMocks from "@/public/images/navBarIcons/MultiPurposeMocks"; import MemoizedImage from "@/public/images/navBarIcons/EnterPrice"; +import Image from "next/image"; export default function Product() { const [openDropdown, setShowDropdown] = useState(false); @@ -50,16 +51,21 @@ export default function Product() { url: "https://keploy.io/docs/concepts/what-are-keploy-features/#%EF%B8%8F-multi-purpose-mocks", }, ]; - const aboutProductLinks = [ - { - icon: What is Keploy Icon, - title: "What is Keploy?", - url: "https://keploy.io/docs/concepts/what-is-keploy/#heading", - }, + + const aboutProductLinks = [ + { + icon: ( + What is Keploy Icon + ), + title: "What is Keploy?", + url: "https://keploy.io/docs/concepts/what-is-keploy/#heading", + }, { icon: , title: "Why use Keploy?", @@ -206,4 +212,4 @@ export default function Product() { )} ); -} +} \ No newline at end of file