diff --git a/templates/website/src/app/_components/Media/index.tsx b/templates/website/src/app/_components/Media/index.tsx index 50579e5cc..cb80e6547 100644 --- a/templates/website/src/app/_components/Media/index.tsx +++ b/templates/website/src/app/_components/Media/index.tsx @@ -11,7 +11,6 @@ export const Media: React.FC = props => { const Tag = (htmlElement as any) || Fragment return ( - // ts-expect-error = props => { } : {})} > - {isVideo ? ( - // @ts-expect-error - ) } diff --git a/templates/website/tsconfig.json b/templates/website/tsconfig.json index bfce523bb..c924c4511 100644 --- a/templates/website/tsconfig.json +++ b/templates/website/tsconfig.json @@ -23,7 +23,10 @@ { "name": "next" } - ] + ], + "paths": { + "react": ["./node_modules/@types/react"], + } }, "include": [ "**/*.ts",