mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-08 04:05:54 -05:00
Fix grand finals connection to 3rd place match with line
This commit is contained in:
@@ -88,6 +88,10 @@ export function EliminationBracketSide(props: EliminationBracketSideProps) {
|
||||
{matches.map((match, matchIdx) => {
|
||||
const lineType = (() => {
|
||||
if (isLastRound) return "none" as const;
|
||||
if (
|
||||
nextRound?.name === TOURNAMENT.ROUND_NAMES.THIRD_PLACE_MATCH
|
||||
)
|
||||
return "none" as const;
|
||||
if (nextRoundMatchCount === matches.length)
|
||||
return "straight" as const;
|
||||
return matchIdx % 2 === 0
|
||||
|
||||
Reference in New Issue
Block a user