diff --git a/ui/src/pages/ActionsToolbar.js b/ui/src/pages/ActionsToolbar.js index 01f0e092..2933c844 100644 --- a/ui/src/pages/ActionsToolbar.js +++ b/ui/src/pages/ActionsToolbar.js @@ -47,7 +47,7 @@ function PlayButtons() { [enqueueSnackbar, closeSnackbar] ); - const { gameState, isPlayingMonopoly, isPlayingYearOfPlenty } = state; + const { gameState, isPlayingMonopoly, isPlayingYearOfPlenty, isRoadBuilding } = state; const key = playerKey(gameState, gameState.current_color); const isRoll = gameState.current_prompt === "PLAY_TURN" && @@ -198,7 +198,7 @@ function PlayButtons() { return ( <> } items={useItems} @@ -206,7 +206,7 @@ function PlayButtons() { Use } items={buildItems} @@ -214,7 +214,7 @@ function PlayButtons() { Buy } items={tradeItems} @@ -222,7 +222,7 @@ function PlayButtons() { Trade