From 2cf60c7b16dfea5a0d63014a7a7a44279a965d2c Mon Sep 17 00:00:00 2001 From: RustamRu Date: Mon, 25 Nov 2024 23:53:09 +0300 Subject: [PATCH] fix: import landingSuccessStub (#33) --- src/pages/landing/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/landing/index.tsx b/src/pages/landing/index.tsx index 11d6e0e..b86ef35 100644 --- a/src/pages/landing/index.tsx +++ b/src/pages/landing/index.tsx @@ -9,12 +9,12 @@ import { } from '../../components/landing'; import { LandingThemeProvider } from '../../containers'; import { LandingSuccessStub } from '../../models/landing'; -const landingSuccessStub = import( - '../../../stubs/json/landing/success.json' -) as unknown as LandingSuccessStub; +import landingSuccessStubJson from '../../../stubs/json/landing/success.json'; import { isBenefitsSectionData, isSocialProofSectionData } from './types'; +const landingSuccessStub = landingSuccessStubJson as LandingSuccessStub; + const Page: FC = () => { return (