TSC/Lint/Prettier

This commit is contained in:
DrMint 2022-05-27 13:17:37 +02:00
parent 2a799cf9e0
commit 89bfc7ea89
4 changed files with 5 additions and 5 deletions

View File

@ -193,7 +193,7 @@ export function MainPanel(props: Immutable<Props>): JSX.Element {
<div className="mt-4 mb-8 grid place-content-center">
<a
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)]"
href="https://creativecommons.org/licenses/by-sa/4.0/"
>

View File

@ -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<Props>): JSX.Element {
function appendDoc(append: string) {
transformationWrapper((value) => {
let newValue = value + append;
const newValue = value + append;
return { prependLength: 0, transformedValue: newValue };
});
}