feat: best 匹配结果页展示 Top 3 候选排行,支持折叠查看备选餐厅

This commit is contained in:
2026-02-24 19:30:10 +08:00
parent 30329df136
commit 5d297684fc
6 changed files with 278 additions and 170 deletions
+2 -1
View File
@@ -15,7 +15,7 @@ export default function RoomPage() {
const [joined, setJoined] = useState(false);
const {
userCount, match, matchType, matchLikes, likeCounts, swipeCounts, restaurants, mutate,
userCount, match, matchType, matchLikes, runnerUps, likeCounts, swipeCounts, restaurants, mutate,
} = useRoomPolling(roomId);
useEffect(() => {
@@ -57,6 +57,7 @@ export default function RoomPage() {
matchedRestaurantId={match}
matchType={matchType}
matchLikes={matchLikes}
runnerUps={runnerUps}
likeCounts={likeCounts}
swipeCounts={swipeCounts}
userCount={userCount}