1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 14:26:41 -04:00

update eslint config

This commit is contained in:
2022-06-19 17:31:04 -04:00
parent c3253d85dd
commit fdae751b58
7 changed files with 167 additions and 615 deletions

View File

@ -1,6 +1,6 @@
import { InView } from "react-intersection-observer";
import { NextSeo, ArticleJsonLd } from "next-seo";
import { MDXRemote } from "next-mdx-remote";
import { MDXRemote, MDXRemoteProps } from "next-mdx-remote";
import Content from "../../components/Content";
import NoteMeta from "../../components/NoteMeta";
import Comments from "../../components/Comments";
@ -53,11 +53,7 @@ const Note = ({ frontMatter, source }: NoteWithSource) => {
<NoteMeta {...frontMatter} />
<Content>
<MDXRemote
{...source}
// @ts-ignore
components={{ ...mdxComponents }}
/>
<MDXRemote {...source} components={{ ...(mdxComponents as MDXRemoteProps["components"]) }} />
</Content>
{!frontMatter.noComments && (