Merge pull request #148 from esSteres/leagues

fix inning arrow not updating
This commit is contained in:
Sakimori 2021-01-13 16:34:42 -05:00 committed by GitHub
commit a330290712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ function Game(props: {gameId: string, state : GameState}) {
return (
<div className="game" ref={self}>
<div className="header">
<div className="inning">Inning: {state.display_top_of_inning ? "🔼" : "🔽"} {state.display_inning}/{state.max_innings}</div>
<div className="inning">Inning: <span>{state.display_top_of_inning ? "🔼" : "🔽"}</span> {state.display_inning}/{state.max_innings}</div>
<div className="title">{state.title}</div>
<div className="weather">{state.weather_emoji} {state.weather_text}</div>
</div>