Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: pmindelay
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-deriv committed Sep 27, 2023
1 parent ba95c40 commit 51141a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/pages/home/hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import Flex from 'features/components/atoms/flex-box'
import ProductHeroContainer from 'features/components/templates/hero-banners/product'
import useRegion from 'components/hooks/use-region'

const HomeHeroSlider = lazy(() => import('./slider'))
const HomeHeroSliderEu = lazy(() => import('./slider'))
const HomeHeroSlider = lazy(() => pMinDelay(import('./slider'), 4000))
const HomeHeroSliderEu = lazy(() => pMinDelay(import('./slider'), 4000))

// const HomeHeroSlider = loadable(() => pMinDelay(import('./slider'), 4000), {
// fallback: (
Expand Down

0 comments on commit 51141a0

Please sign in to comment.