From f2e0fe49f7dfc4f831617cad30a5f8c7915b2270 Mon Sep 17 00:00:00 2001 From: Piotr Janosz Date: Wed, 14 Aug 2019 01:41:16 +0200 Subject: [PATCH] Fixed ts-ignore in animation mdx component --- packages/website/ts/components/docs/mdx/animation.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/website/ts/components/docs/mdx/animation.tsx b/packages/website/ts/components/docs/mdx/animation.tsx index aba72a82e3..a12d8f328a 100644 --- a/packages/website/ts/components/docs/mdx/animation.tsx +++ b/packages/website/ts/components/docs/mdx/animation.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; -// @ts-ignore -const AnimationLoader = React.lazy(() => + +const AnimationLoader = React.lazy(async () => import('ts/components/docs/animations/animation_loader').then(({ AnimationLoader }) => ({ default: AnimationLoader, })),