fix inning arrow not updating
This commit is contained in:
parent
8255d838e5
commit
2b0aadd34f
|
@ -20,7 +20,7 @@ function Game(props: {gameId: string, state : GameState}) {
|
||||||
return (
|
return (
|
||||||
<div className="game" ref={self}>
|
<div className="game" ref={self}>
|
||||||
<div className="header">
|
<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="title">{state.title}</div>
|
||||||
<div className="weather">{state.weather_emoji} {state.weather_text}</div>
|
<div className="weather">{state.weather_emoji} {state.weather_text}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user