minor cleanup

This commit is contained in:
yohlo
2025-09-21 11:38:10 -05:00
parent 1027b49258
commit fc3f626313
4 changed files with 8 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ import SongSearch from "./song-search";
import DurationPicker from "./duration-picker";
import SongSummary from "./song-summary";
import { MusicNote } from "@phosphor-icons/react/dist/ssr";
import { MusicNoteIcon } from "@phosphor-icons/react";
interface Song {
song_id: string;
@@ -117,7 +118,7 @@ const SongPickerComponent = ({ value: song, onChange, formValues }: SongPickerCo
radius="md"
bg="transparent"
>
{!song?.song_image_url && <MusicNote size={24} color="var(--mantine-color-dimmed)" />}
{!song?.song_image_url && <MusicNoteIcon size={24} color="var(--mantine-color-dimmed)" />}
</Avatar>
<div>
<Text size="sm" fw={500} c={song?.song_name ? undefined : "dimmed"}>

View File

@@ -69,8 +69,8 @@ const StartedTournament: React.FC<{ tournament: Tournament }> = ({
to={`/tournaments/${tournament.id}/bracket`}
Icon={TreeStructureIcon}
/>
<RulesListButton tournamentId={tournament.id} />
<TeamListButton teams={tournament.teams || []} />
<RulesListButton tournamentId={tournament.id} />
</Box>
</Stack>
);

View File

@@ -128,9 +128,10 @@ const UpcomingTournament: React.FC<{ tournament: Tournament }> = ({
label={`View Bracket`}
to={`/tournaments/${tournament.id}/bracket`}
Icon={TreeStructureIcon}
disabled
/>
<RulesListButton tournamentId={tournament.id} />
<TeamListButton teams={tournament.teams || []} />
<RulesListButton tournamentId={tournament.id} />
</Box>
</Stack>
);