summaryrefslogtreecommitdiffstats
path: root/docusaurus
diff options
context:
space:
mode:
authorname <email@example.com>2023-09-30 15:08:51 +0200
committername <email@example.com>2023-09-30 15:08:51 +0200
commit625770866d20902ec9aa1972b4d958080ed776bf (patch)
tree38508b02973ad6c336b84e7437e72360d8845378 /docusaurus
parentimprove the conciseness of the self-hosting guide (diff)
downloadwolfree-dockerfile-625770866d20902ec9aa1972b4d958080ed776bf.tar
wolfree-dockerfile-625770866d20902ec9aa1972b4d958080ed776bf.tar.gz
wolfree-dockerfile-625770866d20902ec9aa1972b4d958080ed776bf.tar.bz2
wolfree-dockerfile-625770866d20902ec9aa1972b4d958080ed776bf.tar.lz
wolfree-dockerfile-625770866d20902ec9aa1972b4d958080ed776bf.tar.xz
wolfree-dockerfile-625770866d20902ec9aa1972b4d958080ed776bf.tar.zst
wolfree-dockerfile-625770866d20902ec9aa1972b4d958080ed776bf.zip
Diffstat (limited to 'docusaurus')
-rw-r--r--docusaurus/src/functions/submitMathInputForm.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/docusaurus/src/functions/submitMathInputForm.ts b/docusaurus/src/functions/submitMathInputForm.ts
index cf3294b..bb7c34e 100644
--- a/docusaurus/src/functions/submitMathInputForm.ts
+++ b/docusaurus/src/functions/submitMathInputForm.ts
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: AGPL-3.0-or-later */
import React from "react";
+import typescriptNever from "./typescriptNever";
export default (event: React.FormEvent<HTMLFormElement>): void => {
event.preventDefault();
@@ -15,8 +16,7 @@ export default (event: React.FormEvent<HTMLFormElement>): void => {
} else if (i instanceof File) {
console.warn({ i });
} else {
- const typescriptExhaustivenessCheck: never = i;
- console.warn({ typescriptExhaustivenessCheck });
+ typescriptNever(i);
}
window.location.assign(url);