diff --git a/src/client/src/TournamentManager.js b/src/client/src/TournamentManager.js
index 1f64abb..56190f4 100644
--- a/src/client/src/TournamentManager.js
+++ b/src/client/src/TournamentManager.js
@@ -80,12 +80,6 @@ let submitChanges = curryTournamentId => event => {
let deleteTournament = tournamentId => event => {
console.log(tournamentId);
event.preventDefault();
- //TODO: https://mui.com/components/dialogs/
-
- // let certain = window.confirm("Are you sure? Click OK to delete tournament");
- // if (!certain) {
- // return;
- // }
fetch(process.env.REACT_APP_API_URL + `/tournament/${tournamentId}`, {
method: "DELETE",
@@ -197,15 +191,15 @@ function ConfirmationDialogRaw(props) {
open={open}
{...other}
>
- Yes or No
+ Delete tournament?
- Test
+ Are you sure you want to delete the tournament? This action is not reversible!
-
+
);
@@ -252,28 +246,6 @@ export default function TournamentManager(props) {
- {/* */}
-
>
);
}