From 71ca8757d549c62e7b2925793689815f4ab771ad Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Sun, 19 Feb 2023 22:18:01 +0700
Subject: fix

---
 src/core/components/elements/Navbar/Navbar.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/core/components/elements/Navbar/Navbar.jsx')

diff --git a/src/core/components/elements/Navbar/Navbar.jsx b/src/core/components/elements/Navbar/Navbar.jsx
index e7f447eb..99fdc446 100644
--- a/src/core/components/elements/Navbar/Navbar.jsx
+++ b/src/core/components/elements/Navbar/Navbar.jsx
@@ -1,10 +1,12 @@
+import dynamic from "next/dynamic"
 import Image from "next/image"
 import IndoteknikLogo from "@/images/logo.png"
 import { Bars3Icon, HeartIcon, ShoppingCartIcon } from "@heroicons/react/24/outline"
 import Link from "../Link/Link"
-import Search from "./Search"
 import useSidebar from "@/core/hooks/useSidebar"
 
+const Search = dynamic(() => import("./Search"))
+
 const Navbar = () => {
   const { Sidebar, open } = useSidebar()
   return (
-- 
cgit v1.2.3

