added appbar and changed react.fragment to <>

This commit is contained in:
Kristoffer Juelsenn 2022-03-23 10:39:29 +01:00
parent f602828cfa
commit aa9ae8a3e6
2 changed files with 6 additions and 6 deletions

View File

@ -4,8 +4,8 @@ import "./index.css";
import App from "./frontpage.js";
ReactDOM.render(
<React.StrictMode>
<>
<App />
</React.StrictMode>,
</>,
document.getElementById("root")
);

View File

@ -6,7 +6,7 @@ import SaveButton from "./components/savebutton";
function ManageTournament(props) {
return (
<React.Fragment>
<>
<form>
<label>Edit name: </label>
<input type="text" id="editName" />
@ -27,7 +27,7 @@ function ManageTournament(props) {
<br />
<br />
</form>
</React.Fragment>
</>
);
}
@ -59,13 +59,13 @@ function InviteButton(props) {
//navigator.clipboard.writeText("discord.gg/asura")
export default function TournamentManager() {
return (
<React.Fragment>
<>
<Appbar />
<ManageTournament />
<AnnounceButton />
<InviteButton />
<SaveButton />
<AlertContainer floatingTime={5000} />
</React.Fragment>
</>
);
}