Skip to content

Commit

Permalink
I removed the abort button navbar-menu.tsx and removed the ABORTED ca… (
Browse files Browse the repository at this point in the history
#189)

* I removed the abort button navbar-menu.tsx and removed the ABORTED case in the gameOverMessage() function in game-end-dialog.tsx

* Update game-end-dialog.tsx
  • Loading branch information
sainikhil1611 authored Oct 20, 2024
1 parent 7740d2e commit 01c3f03
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/client/game/navbar-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,6 @@ export function NavbarMenu(props: NavbarMenuProps): JSX.Element {
<NavbarGroup>
<NavbarHeading>ChessBot</NavbarHeading>
<NavbarDivider />
<Button
icon="warning-sign"
minimal
text="Abort Game"
intent="warning"
onClick={async () => {
props.sendMessage(
new GameInterruptedMessage(
GameInterruptedReason.ABORTED,
),
);
}}
/>
<Button
icon="flag"
minimal
Expand Down

0 comments on commit 01c3f03

Please sign in to comment.