Removed alert dependency

This commit is contained in:
Felix Albrigtsen 2022-03-28 19:49:28 +02:00
parent 4ff41c40f7
commit 09beb1ece7
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import * as React from "react"; import * as React from "react";
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; import { BrowserRouter as Link } from "react-router-dom";
import { AlertContainer, alert } from "react-custom-alert"; // import { AlertContainer, alert } from "react-custom-alert";
import Appbar from "./components/appbar"; import Appbar from "./components/appbar";
import { useParams } from "react-router-dom"; import { useParams } from "react-router-dom";
import { Button, TextField, Grid, Box, Container, Paper, Stack} from "@mui/material"; import { Button, TextField, Grid, Box, Container, Paper, Stack} from "@mui/material";
@ -177,7 +177,7 @@ export default function TournamentManager(props) {
<ManageTournament tournamentId={tournamentId} /> <ManageTournament tournamentId={tournamentId} />
<AnnounceButton /> <AnnounceButton />
<InviteButton /> <InviteButton />
<AlertContainer floatingTime={5000} /> {/* <AlertContainer floatingTime={5000} /> */}
</Paper> </Paper>
</> </>
); );