cleanup
This commit is contained in:
parent
4deff6110b
commit
226da64608
|
@ -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);
|
||||||
|
|
|
@ -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 "____";
|
||||||
|
|
Loading…
Reference in New Issue