Merge branch 'predictions' into development
CI/CD Pipeline / Build and Push App Docker Image (push) Successful in 1m36s
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 25s
CI/CD Pipeline / Deploy to Kubernetes (push) Successful in 8m23s

This commit is contained in:
yohlo
2026-07-14 14:22:50 -07:00
28 changed files with 2087 additions and 91 deletions
+14 -8
View File
@@ -11,6 +11,7 @@ interface BracketProps {
num_groups: number;
advance_per_group: number;
};
renderMatch?: (match: Match) => React.ReactNode;
onMatchTap?: (match: Match) => void;
selectedMatchLid?: number | null;
}
@@ -20,6 +21,7 @@ export const Bracket: React.FC<BracketProps> = ({
orders,
showControls,
groupConfig,
renderMatch,
onMatchTap,
selectedMatchLid,
}) => {
@@ -137,14 +139,18 @@ export const Bracket: React.FC<BracketProps> = ({
<div key={match.lid}></div>
) : (
<div key={match.lid}>
<MatchCard
match={match}
orders={orders}
showControls={showControls}
groupConfig={groupConfig}
onTap={onMatchTap}
selected={selectedMatchLid === match.lid}
/>
{renderMatch ? (
renderMatch(match)
) : (
<MatchCard
match={match}
orders={orders}
showControls={showControls}
groupConfig={groupConfig}
onTap={onMatchTap}
selected={selectedMatchLid === match.lid}
/>
)}
</div>
)
)}