From d4a5a8df5d805531edf9f6f294037baaa63484ef Mon Sep 17 00:00:00 2001 From: Juan David Nicholls Cardona Date: Tue, 16 Mar 2021 11:36:50 -0500 Subject: [PATCH] Fix type issue --- demo-react/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)