fix: import landingSuccessStub (#33)
All checks were successful
it-academy/dry-wash-pl/pipeline/pr-main This commit looks good

This commit is contained in:
RustamRu 2024-11-25 23:53:09 +03:00
parent d30202108c
commit 2cf60c7b16

View File

@ -9,12 +9,12 @@ import {
} from '../../components/landing'; } from '../../components/landing';
import { LandingThemeProvider } from '../../containers'; import { LandingThemeProvider } from '../../containers';
import { LandingSuccessStub } from '../../models/landing'; import { LandingSuccessStub } from '../../models/landing';
const landingSuccessStub = import( import landingSuccessStubJson from '../../../stubs/json/landing/success.json';
'../../../stubs/json/landing/success.json'
) as unknown as LandingSuccessStub;
import { isBenefitsSectionData, isSocialProofSectionData } from './types'; import { isBenefitsSectionData, isSocialProofSectionData } from './types';
const landingSuccessStub = landingSuccessStubJson as LandingSuccessStub;
const Page: FC = () => { const Page: FC = () => {
return ( return (
<LandingThemeProvider> <LandingThemeProvider>