i think working bracket runner
This commit is contained in:
@@ -91,8 +91,6 @@ export const MatchCard: React.FC<MatchCardProps> = ({
|
||||
[match.id, editSheet]
|
||||
);
|
||||
|
||||
console.log(homeSlot, awaySlot)
|
||||
|
||||
return (
|
||||
<Flex direction="row" align="center" justify="end" gap={8}>
|
||||
<Text c="dimmed" fw="bolder">
|
||||
|
||||
@@ -76,8 +76,6 @@ export const MatchForm: React.FC<MatchFormProps> = ({
|
||||
onSubmit(transformedValues);
|
||||
});
|
||||
|
||||
console.log(match)
|
||||
|
||||
return (
|
||||
<form onSubmit={handleSubmit}>
|
||||
<Stack gap="md">
|
||||
|
||||
@@ -181,9 +181,6 @@ export const endMatch = createServerFn()
|
||||
|
||||
// winner -> where to send match winner to, loser same
|
||||
const { winner, loser } = await pbAdmin.getChildMatches(matchId)
|
||||
|
||||
console.log('match winner:', matchWinner)
|
||||
console.log('match loser:', matchLoser)
|
||||
|
||||
if (winner) {
|
||||
await pbAdmin.updateMatch(winner.id, {
|
||||
|
||||
Reference in New Issue
Block a user