diff --git a/demo-react/src/App.tsx b/demo-react/src/App.tsx index 5d373ba..6827a77 100644 --- a/demo-react/src/App.tsx +++ b/demo-react/src/App.tsx @@ -54,7 +54,7 @@ const gameConfig: GameInstance = { }; export default function App () { - const gameRef = useRef() + const gameRef = useRef(null) const [game, setGame] = useState() const [initialize, setInitialize] = useState(false)