diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-20 13:09:22 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-20 13:09:22 +0700 |
| commit | fdefe7cfe899125a9bd553b542976eed0de919c1 (patch) | |
| tree | 0c3648d1e18249b42e7507847469c0ec87b933b7 /src/pages | |
| parent | 58ab91f8a99a79e0dbae33cf71830e4d1646e264 (diff) | |
fix
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/index.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 6503ac20..4cb40adb 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -6,19 +6,19 @@ import PopularProductSkeleton from "@/lib/home/components/Skeleton/PopularProduc const BasicLayout = dynamic(() => import("@/core/components/layouts/BasicLayout")) const HeroBanner = dynamic(() => import("@/lib/home/components/HeroBanner"), { - loading: <ImageSkeleton /> + loading: () => <ImageSkeleton /> }) const PreferredBrand = dynamic(() => import("@/lib/home/components/PreferredBrand"), { - loading: <PopularProductSkeleton /> + loading: () => <PopularProductSkeleton /> }) const PopularProduct = dynamic(() => import("@/lib/home/components/PopularProduct"), { - loading: <PopularProductSkeleton /> + loading: () => <PopularProductSkeleton /> }) const CategoryHomeId = dynamic(() => import("@/lib/home/components/CategoryHomeId"), { - loading: <PopularProductSkeleton /> + loading: () => <PopularProductSkeleton /> }) export default function Home() { |
