diff --git a/frontend/src/components/brackets/brackets.tsx b/frontend/src/components/brackets/brackets.tsx index 3eeb53a9..e9766bba 100644 --- a/frontend/src/components/brackets/brackets.tsx +++ b/frontend/src/components/brackets/brackets.tsx @@ -82,7 +82,7 @@ function getRoundsGridCols( - {rounds} + {rounds} ); } diff --git a/frontend/src/components/builder/builder.tsx b/frontend/src/components/builder/builder.tsx index c3dc1915..71236a0d 100644 --- a/frontend/src/components/builder/builder.tsx +++ b/frontend/src/components/builder/builder.tsx @@ -1,4 +1,4 @@ -import { ActionIcon, Badge, Card, Grid, Group, Menu, Text, rem } from '@mantine/core'; +import { ActionIcon, Badge, Card, Group, Menu, Stack, Text, rem } from '@mantine/core'; import { IconDots, IconPencil, IconTrash } from '@tabler/icons-react'; import assert from 'assert'; import React, { useState } from 'react'; @@ -153,7 +153,7 @@ function StageColumn({ )); return ( - + - + ); } @@ -234,13 +234,11 @@ export default function Builder({ )); const button = ( - +

-
+ ); - const colsWithButton = cols.concat([button]); - - return {colsWithButton}; + return cols.concat([button]); } diff --git a/frontend/src/components/modals/create_stage_item.tsx b/frontend/src/components/modals/create_stage_item.tsx index eb455e38..0fa47ba5 100644 --- a/frontend/src/components/modals/create_stage_item.tsx +++ b/frontend/src/components/modals/create_stage_item.tsx @@ -170,6 +170,7 @@ export function CreateStageItemModal({ ({ value: `${p.id}`, label: p.name }))} label="Club" placeholder="Pick a club for this tournament" diff --git a/frontend/src/pages/tournaments/[id]/stages.tsx b/frontend/src/pages/tournaments/[id]/stages.tsx index 6c5f9717..f7f2f5ba 100644 --- a/frontend/src/pages/tournaments/[id]/stages.tsx +++ b/frontend/src/pages/tournaments/[id]/stages.tsx @@ -1,4 +1,4 @@ -import { Container, Group } from '@mantine/core'; +import { Group } from '@mantine/core'; import React from 'react'; import Builder from '../../../components/builder/builder'; @@ -24,16 +24,16 @@ export default function StagesPage() { return ( - + + + + + - - - - - + ); }