reactions SSE!

This commit is contained in:
yohlo
2025-09-19 20:53:05 -05:00
parent f99d6efaf9
commit 5e20b94a1f
14 changed files with 173 additions and 99 deletions

View File

@@ -153,7 +153,6 @@ export const startMatch = createServerFn()
status: "started",
});
console.log('emitting start match...')
serverEvents.emit("match", {
type: "match",
matchId: match.id,
@@ -300,7 +299,6 @@ export const toggleMatchReaction = createServerFn()
serverEvents.emit("reaction", {
type: "reaction",
matchId,
tournamentId: match.tournament.id,
reactions,
});