Skip to content

Commit

Permalink
Merge pull request #14 from MinecraftU/fix-import
Browse files Browse the repository at this point in the history
fix import openGameOverModal error
  • Loading branch information
dealingwith authored Aug 13, 2023
2 parents bf97d8f + 741e413 commit cd1f3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/js/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import init, { get_engine_move } from "../pkg/chess_engine.js";
import openGameOverModal from "./game_over.js";
import { openGameOverModal } from "./game_over.js";

document.getElementById("queenPromoButton").addEventListener("click", () => {
handlePromotion('q')
Expand Down

0 comments on commit cd1f3cf

Please sign in to comment.