Skip to content

Commit

Permalink
Update dependencies, update prettier, and restructure CI to not build…
Browse files Browse the repository at this point in the history
… twice.
  • Loading branch information
DavidSouther committed Sep 3, 2024
1 parent f49fd76 commit bf5aad4
Show file tree
Hide file tree
Showing 11 changed files with 2,159 additions and 4,467 deletions.
2 changes: 1 addition & 1 deletion components/src/difftable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const DiffTable = ({
</tbody>
</table>
) : (
zeroState ?? <p>Execute test script to compare output.</p>
(zeroState ?? <p>Execute test script to compare output.</p>)
)}
</div>
);
Expand Down
3 changes: 1 addition & 2 deletions components/src/pinout.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Bus, HIGH } from "@nand2tetris/simulator/chip/chip.js";
import { render, screen } from "@testing-library/react";
import { useState } from "react";
import { act } from "react-dom/test-utils";
import { act, useState } from "react";
import { Pinout, reducePin } from "./pinout.js";

describe("<Pinout />", () => {
Expand Down
4 changes: 2 additions & 2 deletions components/src/runbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export const Runbar = (props: {
}
data-tooltip={
runner.state.running
? props.overrideTooltips?.pause ?? `Pause`
: props.overrideTooltips?.run ?? `Run`
? (props.overrideTooltips?.pause ?? `Pause`)
: (props.overrideTooltips?.run ?? `Run`)
}
data-placement="bottom"
>
Expand Down
2 changes: 1 addition & 1 deletion components/src/stores/chip.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export function makeChipStore(
payload?.invalid ?? state.sim.invalid,
);
state.controls.error = state.sim.invalid
? payload?.error ?? state.controls.error
? (payload?.error ?? state.controls.error)
: undefined;
},

Expand Down
Loading

0 comments on commit bf5aad4

Please sign in to comment.