From ec7e6fd8692b59d27838b42e70b4a3c4599dd49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20F=C3=B6rtsch?= Date: Thu, 12 Mar 2026 22:18:15 +0100 Subject: [PATCH] wire ActualResultsForm and prediction results in host route Co-Authored-By: Claude Opus 4.6 --- packages/client/src/routes/host.$roomCode.tsx | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/client/src/routes/host.$roomCode.tsx b/packages/client/src/routes/host.$roomCode.tsx index ab507b8..76ec738 100644 --- a/packages/client/src/routes/host.$roomCode.tsx +++ b/packages/client/src/routes/host.$roomCode.tsx @@ -6,6 +6,7 @@ import { PredictionsForm } from "@/components/predictions-form" import { JuryHost } from "@/components/jury-host" import { JuryVoting } from "@/components/jury-voting" import { BingoCard } from "@/components/bingo-card" +import { ActualResultsForm } from "@/components/actual-results-form" import { Leaderboard } from "@/components/leaderboard" import { RoomHeader } from "@/components/room-header" import { Button } from "@/components/ui/button" @@ -106,8 +107,18 @@ function HostView() { )} + {gameState && (room.currentAct === "scoring" || room.currentAct === "ended") && gameState.myPrediction && ( + {}} + /> + )} + {gameState && (room.currentAct === "scoring" || room.currentAct === "ended") && ( - + )} )} {gameState && (room.currentAct === "scoring" || room.currentAct === "ended") && ( - + send({ type: "submit_actual_results", ...results })} + /> + )} + {gameState && (room.currentAct === "scoring" || room.currentAct === "ended") && ( + )}