Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1d30e43
Fix sponsor image to fit within container; partial circle shape imple…
fisayoadabs Jan 16, 2025
cf49901
Hmt 99/login redirect (#169)
anthonyych4n Jan 16, 2025
889c7c7
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Feb 5, 2025
52ab860
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Mar 29, 2025
31aaf34
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs May 20, 2025
61e7176
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Jun 10, 2025
8536b89
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Jul 9, 2025
7bb7071
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Aug 6, 2025
84c1606
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Sep 12, 2025
be7d428
test: deploy prod
burtonjong Oct 13, 2025
ab15b0b
update prod
burtonjong Oct 13, 2025
5b5cbeb
fix: list users groups permissions and function cleanup
burtonjong Oct 13, 2025
0d5cfff
update prod (#243)
burtonjong Oct 19, 2025
91243c5
Merge branch 'main' into prod
burtonjong Oct 21, 2025
ef9fd99
Merge branch 'main' into prod
burtonjong Oct 21, 2025
2a6b0f2
styling fixes and refresh page after leaving team (#245) (#246)
burtonjong Oct 22, 2025
8877fb7
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Oct 22, 2025
bbef163
Revalidate (#248)
fisayoadabs Oct 23, 2025
bba01d3
update prize pool and admin navbar (#250)
fionaa-truong Oct 24, 2025
0feee18
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Oct 24, 2025
31ad3ff
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Oct 24, 2025
697aebf
Merge branch 'main' into prod
fionaa-truong Oct 24, 2025
4838ae6
Merge branch 'main' into prod
fionaa-truong Oct 24, 2025
c876240
merge main into prod (#253) (#254)
fisayoadabs Oct 24, 2025
18769ac
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Oct 26, 2025
d984e7f
merge main into prod (#253) (#255)
fisayoadabs Oct 26, 2025
b0cf292
Updating prod for infinite scheduler load (#258)
fisayoadabs Oct 28, 2025
532e8a9
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Nov 7, 2025
63805f2
Merge branch 'main' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Nov 7, 2025
714e4de
Merge branch 'prod' of https://github.com/Code-the-Change-YYC/hackath…
fisayoadabs Nov 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions src/app/judging/JudgingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ export default function JudgingTable({
});

const { data: teamsLeft = 0, isFetching: teamsLeftIsFetching } = useQuery({
queryKey: [
"TeamsLeftCount",
teamsForRoomData,
currentUser.username,
teamsForRoomData?.map((t) => t?.id).join(","),
],
queryKey: ["TeamsLeftCount", teamsForRoomData, currentUser.username],
queryFn: async () => {
if (!teamsForRoomData) return 0;
const boolArray = await Promise.all(
Expand All @@ -72,12 +67,11 @@ export default function JudgingTable({
);
return teamsForRoomData.filter((_, i) => boolArray[i]).length;
},
enabled: !!teamsForRoomData?.length && !!currentUser.username,
enabled: !!teamsForRoomData && !!currentUser.username,
});

const isFetching =
roomIsFetching || teamsForRoomIsFetching || teamsLeftIsFetching;

if (isFetching || !roomData || !teamsForRoomData) {
return <KevinLoadingRing />;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/judging/assigned-teams/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const AssignedTeamsPage = () => {
return <div className="p-6">You have no room assigned yet.</div>;

return (
<div className="h-dvh p-6">
<div className="p-6">
<h1 className="mb-4 text-2xl font-semibold">
Your Teams: {roomData?.name ?? ""}
</h1>
Expand Down
Loading