feat: best 匹配结果页展示 Top 3 候选排行,支持折叠查看备选餐厅
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user