From 181198c0cb969bf9e6eb2cd2c0e5793a5dd1233e Mon Sep 17 00:00:00 2001 From: RustamRu Date: Sun, 17 Nov 2024 18:39:31 +0300 Subject: [PATCH] fix: eslint imports order --- src/components/landing/BenefitsSection/helper.ts | 2 ++ src/components/landing/HeroSection/HeroSection.tsx | 2 ++ src/pages/landing/index.tsx | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/components/landing/BenefitsSection/helper.ts b/src/components/landing/BenefitsSection/helper.ts index 66bed05..80f0784 100644 --- a/src/components/landing/BenefitsSection/helper.ts +++ b/src/components/landing/BenefitsSection/helper.ts @@ -1,6 +1,8 @@ import { IconType } from "react-icons"; import { MdEco, MdMiscellaneousServices, MdPlace, MdHandshake } from "react-icons/md"; + import { ArrElement } from "../../../lib"; + import { BenefitsList } from "./types"; export const iconsMap: Record, IconType> = { diff --git a/src/components/landing/HeroSection/HeroSection.tsx b/src/components/landing/HeroSection/HeroSection.tsx index cf19ebb..f6e0c1b 100644 --- a/src/components/landing/HeroSection/HeroSection.tsx +++ b/src/components/landing/HeroSection/HeroSection.tsx @@ -1,8 +1,10 @@ import React, { FC } from 'react'; import { useTranslation } from 'react-i18next'; import { Box, Heading, Text, Center, VStack } from '@chakra-ui/react'; + import { DemoVideoPosterImg } from '../../../assets/images'; import { CtaButton, SiteLogo, PageSection } from '../'; + import { HeroSectionProps } from './types'; export const HeroSection: FC = ({ diff --git a/src/pages/landing/index.tsx b/src/pages/landing/index.tsx index bab11ee..40b0152 100644 --- a/src/pages/landing/index.tsx +++ b/src/pages/landing/index.tsx @@ -1,8 +1,10 @@ import React, { FC } from 'react'; import { Container, VStack } from '@chakra-ui/react'; + import LandingSuccess from '../../../stubs/json/landing/landing-success.json'; import { BenefitsSection, Footer, HeroSection, SocialProofSection } from '../../components/landing'; import { LandingThemeProvider } from '../../containers'; + import { isBenefitsSectionData, isSocialProofSectionData } from './types'; const Page: FC = () => {