Switch to babel for builds.

Fix whitespace mangled by prettier
This commit is contained in:
David Edmondson
2021-09-04 22:17:30 -07:00
parent 5e11e77282
commit 306facc0d1
10 changed files with 969 additions and 908 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ export function Intro(props: IProps): React.ReactElement {
</Grid>
<Grid item xs={10}>
<pre>[{coloredArrow(props.Difficulty)}]</pre>
<pre> ^ ^ ^ ^</pre>
<pre> Trivial Normal Hard Impossible</pre>
<pre>{` ^ ^ ^ ^`}</pre>
<pre>{` Trivial Normal Hard Impossible`}</pre>
</Grid>
<Grid item xs={10}>
<p>
-1
View File
@@ -10,7 +10,6 @@ export function KeyHandler(props: IProps): React.ReactElement {
useEffect(() => elem.focus());
function onKeyDown(event: React.KeyboardEvent<HTMLElement>): void {
console.log("isTrusted?", event.isTrusted);
if (!event.isTrusted) {
console.log("untrusted event!");
props.onFailure({ automated: true });