From c7ef992082b3528c7184f6885ef30bf82f94c684 Mon Sep 17 00:00:00 2001 From: hypercross Date: Sun, 19 Apr 2026 11:31:03 +0800 Subject: [PATCH] refactor(onitama-game): simplify GameUI initialization --- packages/onitama-game/src/main.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/onitama-game/src/main.tsx b/packages/onitama-game/src/main.tsx index 013e785..b3c20df 100644 --- a/packages/onitama-game/src/main.tsx +++ b/packages/onitama-game/src/main.tsx @@ -1,11 +1,11 @@ -import { h } from 'preact'; -import { GameUI } from 'boardgame-phaser'; -import './style.css'; +import { GameUI } from "boardgame-phaser"; + +import "./style.css"; import App from "@/ui/App"; const ui = new GameUI({ - container: document.getElementById('ui-root')!, - root: , + container: "ui-root", + root: , }); ui.mount();