Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion apps/othello-frontend/src/components/product/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function Sidebar({...props}: React.ComponentProps<typeof SidebarComponent
</div>
<div className="flex items-center gap-1.5 text-left text-sm leading-tight">
<span className="truncate font-semibold h-fit">Othello</span>
<Badge variant="default">ALPHA</Badge>
<Badge variant="default">Alpha</Badge>
</div>
</Link>
</SidebarMenuButton>
Expand Down
5 changes: 2 additions & 3 deletions apps/othello-frontend/src/routes/_dashboard/play/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const playModes: PlayMode[] = [
description: "Challenge a bot from Easy to Master",
color: "blue",
id: "play_bots",
disabled: true
disabled: false
},
{
icon: Users,
Expand Down Expand Up @@ -170,8 +170,7 @@ function RouteComponent() {
</Alert>
<FieldGroup>
<FieldSet>
<RadioGroup value={gameMode} onChange={(e: any) => setGameMode(e.target.value)}
defaultValue="pass_and_play" name="game_type">
<RadioGroup value={gameMode} onValueChange={(e) => setGameMode(e)} defaultValue="pass_and_play" name="game_type">
{playModes.map((playMode) => (
<FieldLabel htmlFor={playMode.id} key={playMode.id}>
<Field className="has-disabled:opacity-50 has-disabled:cursor-not-allowed" orientation="horizontal">
Expand Down
Loading