TSC/Lint/Prettier
This commit is contained in:
parent
2a799cf9e0
commit
89bfc7ea89
|
@ -250,7 +250,7 @@ export function Markdawn(props: Immutable<Props>): JSX.Element {
|
||||||
</blockquote>
|
</blockquote>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
img: {
|
img: {
|
||||||
component: (compProps: {
|
component: (compProps: {
|
||||||
alt: string;
|
alt: string;
|
||||||
|
|
|
@ -193,7 +193,7 @@ export function MainPanel(props: Immutable<Props>): JSX.Element {
|
||||||
<div className="mt-4 mb-8 grid place-content-center">
|
<div className="mt-4 mb-8 grid place-content-center">
|
||||||
<a
|
<a
|
||||||
aria-label="Read more about the license we use for this website"
|
aria-label="Read more about the license we use for this website"
|
||||||
className="transition-[filter] grid grid-flow-col place-content-center gap-1
|
className="grid grid-flow-col place-content-center gap-1 transition-[filter]
|
||||||
hover:[--theme-color-black:var(--theme-color-dark)]"
|
hover:[--theme-color-black:var(--theme-color-dark)]"
|
||||||
href="https://creativecommons.org/licenses/by-sa/4.0/"
|
href="https://creativecommons.org/licenses/by-sa/4.0/"
|
||||||
>
|
>
|
||||||
|
|
|
@ -12,7 +12,7 @@ import { Immutable } from "helpers/types";
|
||||||
import { GetStaticPropsContext } from "next";
|
import { GetStaticPropsContext } from "next";
|
||||||
import { useCallback, useState } from "react";
|
import { useCallback, useState } from "react";
|
||||||
import TurndownService from "turndown";
|
import TurndownService from "turndown";
|
||||||
import { Ico, Icon } from "components/Ico";
|
import { Icon } from "components/Ico";
|
||||||
import { TOC } from "components/Markdown/TOC";
|
import { TOC } from "components/Markdown/TOC";
|
||||||
|
|
||||||
interface Props extends AppStaticProps {}
|
interface Props extends AppStaticProps {}
|
||||||
|
@ -114,7 +114,7 @@ export default function Editor(props: Immutable<Props>): JSX.Element {
|
||||||
|
|
||||||
function appendDoc(append: string) {
|
function appendDoc(append: string) {
|
||||||
transformationWrapper((value) => {
|
transformationWrapper((value) => {
|
||||||
let newValue = value + append;
|
const newValue = value + append;
|
||||||
return { prependLength: 0, transformedValue: newValue };
|
return { prependLength: 0, transformedValue: newValue };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,4 +224,4 @@ input[type="submit"] {
|
||||||
}
|
}
|
||||||
.tippy-content {
|
.tippy-content {
|
||||||
@apply relative z-10 px-6 py-4;
|
@apply relative z-10 px-6 py-4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue