diff --git a/src/components/Markdown/Markdawn.tsx b/src/components/Markdown/Markdawn.tsx index 68b7b96..0c3fd85 100644 --- a/src/components/Markdown/Markdawn.tsx +++ b/src/components/Markdown/Markdawn.tsx @@ -250,7 +250,7 @@ export function Markdawn(props: Immutable): JSX.Element { ), }, - + img: { component: (compProps: { alt: string; diff --git a/src/components/Panels/MainPanel.tsx b/src/components/Panels/MainPanel.tsx index c128ef5..88dfe6d 100644 --- a/src/components/Panels/MainPanel.tsx +++ b/src/components/Panels/MainPanel.tsx @@ -193,7 +193,7 @@ export function MainPanel(props: Immutable): JSX.Element {
diff --git a/src/pages/dev/editor.tsx b/src/pages/dev/editor.tsx index 4b11234..850e78f 100644 --- a/src/pages/dev/editor.tsx +++ b/src/pages/dev/editor.tsx @@ -12,7 +12,7 @@ import { Immutable } from "helpers/types"; import { GetStaticPropsContext } from "next"; import { useCallback, useState } from "react"; import TurndownService from "turndown"; -import { Ico, Icon } from "components/Ico"; +import { Icon } from "components/Ico"; import { TOC } from "components/Markdown/TOC"; interface Props extends AppStaticProps {} @@ -114,7 +114,7 @@ export default function Editor(props: Immutable): JSX.Element { function appendDoc(append: string) { transformationWrapper((value) => { - let newValue = value + append; + const newValue = value + append; return { prependLength: 0, transformedValue: newValue }; }); } diff --git a/src/tailwind.css b/src/tailwind.css index 3859a5a..942c84c 100644 --- a/src/tailwind.css +++ b/src/tailwind.css @@ -224,4 +224,4 @@ input[type="submit"] { } .tippy-content { @apply relative z-10 px-6 py-4; -} \ No newline at end of file +}