This commit is contained in:
adueck 2023-06-27 17:00:59 +04:00
parent 4deff6110b
commit 226da64608
2 changed files with 0 additions and 3 deletions

View File

@ -68,7 +68,6 @@ function EPExplorer(props: {
adjustEps({ type: "load EPS", payload: e }); adjustEps({ type: "load EPS", payload: e });
} }
function flashMessage(msg: string) { function flashMessage(msg: string) {
console.log(msg);
alert(msg); alert(msg);
// for some crazy reason using this alert functionality breaks the flow! // for some crazy reason using this alert functionality breaks the flow!
// setAlertMsg(msg); // setAlertMsg(msg);

View File

@ -268,9 +268,7 @@ function getEngAPs(blocks: T.Block[][]): string {
} }
function getEngComplement(blocks: T.Block[][]): string | undefined { function getEngComplement(blocks: T.Block[][]): string | undefined {
console.log("getting comp");
const comp = getComplementFromBlocks(blocks); const comp = getComplementFromBlocks(blocks);
console.log({ blocks, comp });
if (!comp) return undefined; if (!comp) return undefined;
if (comp.selection.type === "unselected") { if (comp.selection.type === "unselected") {
return "____"; return "____";