diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-18 22:03:55 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-18 22:03:55 +0700 |
| commit | 69f55de26319e570ce0a8c4dbe8a29cb0d0b51c5 (patch) | |
| tree | 742f6a7f11812b6e236c2cfb69f94aa1b53a49e5 /src/pages/shop/cart.jsx | |
| parent | 8c38ac6b55ce3aa15196364619f8f22053a00c48 (diff) | |
optimization
Diffstat (limited to 'src/pages/shop/cart.jsx')
| -rw-r--r-- | src/pages/shop/cart.jsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pages/shop/cart.jsx b/src/pages/shop/cart.jsx index 20279e0c..735ea19f 100644 --- a/src/pages/shop/cart.jsx +++ b/src/pages/shop/cart.jsx @@ -1,5 +1,7 @@ -import AppLayout from "@/core/components/layouts/AppLayout" -import CartComponent from "@/lib/cart/components/Cart" +import dynamic from "next/dynamic" + +const AppLayout = dynamic(() => import("@/core/components/layouts/AppLayout")) +const CartComponent = dynamic(() => import("@/lib/cart/components/Cart")) export default function Cart() { return ( |
