fix nearly all lint errors now

This commit is contained in:
Olivier Gagnon
2021-05-29 14:48:56 -04:00
parent 60d6d49c43
commit 674ce17834
29 changed files with 75 additions and 69 deletions
+1 -4
View File
@@ -12,10 +12,7 @@ import {
Generic_toJSON,
Reviver,
} from "../utils/JSONReviver";
import { KEY } from "../utils/helpers/keyCodes";
import { createElement } from "../utils/uiHelpers/createElement";
import { createPopup, removePopup } from "./ui/React/createPopup";
import { removeElementById } from "../utils/uiHelpers/removeElementById";
import { CodingContractPopup } from "./ui/React/CodingContractPopup";
@@ -174,7 +171,7 @@ export class CodingContract {
*/
async prompt(): Promise<CodingContractResult> {
const popupId = `coding-contract-prompt-popup-${this.fn}`;
return new Promise<CodingContractResult>((resolve, reject) => {
return new Promise<CodingContractResult>((resolve) => {
const popup = new CodingContractPopup({
c: this,
popupId: popupId,