Skip to content

Commit df947eb

Browse files
committed
Remove game over
1 parent 7b39cb9 commit df947eb

File tree

1 file changed

+0
-20
lines changed
  • services/app/apps/codebattle/assets/js/widgets/pages/tournament

1 file changed

+0
-20
lines changed

services/app/apps/codebattle/assets/js/widgets/pages/tournament/MatchAction.jsx

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,6 @@ function MatchAction({ match, canModerate, currentUserIsPlayer }) {
4747
<FontAwesomeIcon className="mr-2" icon="laptop-code" />
4848
{i18next.t('Continue')}
4949
</a>
50-
{canModerate && !streamMode && (
51-
<button
52-
type="button"
53-
className={gameOverBtnClassName}
54-
onClick={() => sendMatchGameOver(match.id)}
55-
>
56-
<FontAwesomeIcon className="mr-2" icon="window-close" />
57-
{i18next.t('Game Over')}
58-
</button>
59-
)}
6050
</>
6151
);
6252
}
@@ -71,16 +61,6 @@ function MatchAction({ match, canModerate, currentUserIsPlayer }) {
7161
<FontAwesomeIcon className="mr-2" icon="eye" />
7262
{i18next.t('Show')}
7363
</a>
74-
{canModerate && !streamMode && (
75-
<button
76-
type="button"
77-
className={gameOverBtnClassName}
78-
onClick={() => sendMatchGameOver(match.id)}
79-
>
80-
<FontAwesomeIcon className="mr-2" icon="window-close" />
81-
{i18next.t('Game Over')}
82-
</button>
83-
)}
8464
</>
8565
);
8666
}

0 commit comments

Comments
 (0)