Skip to content

Commit

Permalink
Fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jdnichollsc committed Mar 16, 2021
1 parent 0382047 commit d4a5a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo-react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const gameConfig: GameInstance = {
};

export default function App () {
const gameRef = useRef<HTMLIonPhaserElement>()
const gameRef = useRef<HTMLIonPhaserElement>(null)
const [game, setGame] = useState<GameInstance>()
const [initialize, setInitialize] = useState(false)

Expand Down

0 comments on commit d4a5a8d

Please sign in to comment.