Skip to content

Commit

Permalink
cleanu p
Browse files Browse the repository at this point in the history
  • Loading branch information
Bit-Barron committed Oct 13, 2024
1 parent 2ba8119 commit bd69979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/app/(main)/dashboard/tournament/[tournamentId]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ const layout: React.FC<layoutProps> = async ({ children, params }) => {
params.tournamentId
].get(),
);

console.log(data);
return data;
},
}),
Expand Down
3 changes: 0 additions & 3 deletions src/app/(main)/dashboard/tournament/[tournamentId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const Page = () => {
const tournament = tournamentIdQuery.data;
const participants = participantsQuery.data || [];

console.log(participants);

if (!tournament) {
return (
<div className="flex h-screen items-center justify-center">
Expand Down Expand Up @@ -84,7 +82,6 @@ const Page = () => {
{ round: 4, participants: 40 },
{ round: 5, participants: 50 },
{ round: 6, participants: 60 },

]}
maxParticipants={60}
currentParticipants={participants.length}
Expand Down

0 comments on commit bd69979

Please sign in to comment.