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/layouts/BasicLayout.jsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'src/core/components/layouts/BasicLayout.jsx')

diff --git a/src/core/components/layouts/BasicLayout.jsx b/src/core/components/layouts/BasicLayout.jsx
index 94c235fb..98134b32 100644
--- a/src/core/components/layouts/BasicLayout.jsx
+++ b/src/core/components/layouts/BasicLayout.jsx
@@ -1,5 +1,7 @@
-import Navbar from "../elements/Navbar/Navbar"
-import AnimationLayout from "./AnimationLayout"
+import dynamic from "next/dynamic"
+
+const Navbar = dynamic(() => import("../elements/Navbar/Navbar"))
+const AnimationLayout = dynamic(() => import("./AnimationLayout"))
 
 const BasicLayout = ({ children }) => {
   return (
-- 
cgit v1.2.3

