added appbar and changed react.fragment to <>
This commit is contained in:
parent
f602828cfa
commit
aa9ae8a3e6
|
@ -4,8 +4,8 @@ import "./index.css";
|
||||||
import App from "./frontpage.js";
|
import App from "./frontpage.js";
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<React.StrictMode>
|
<>
|
||||||
<App />
|
<App />
|
||||||
</React.StrictMode>,
|
</>,
|
||||||
document.getElementById("root")
|
document.getElementById("root")
|
||||||
);
|
);
|
||||||
|
|
|
@ -6,7 +6,7 @@ import SaveButton from "./components/savebutton";
|
||||||
|
|
||||||
function ManageTournament(props) {
|
function ManageTournament(props) {
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<>
|
||||||
<form>
|
<form>
|
||||||
<label>Edit name: </label>
|
<label>Edit name: </label>
|
||||||
<input type="text" id="editName" />
|
<input type="text" id="editName" />
|
||||||
|
@ -27,7 +27,7 @@ function ManageTournament(props) {
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
</form>
|
</form>
|
||||||
</React.Fragment>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,13 +59,13 @@ function InviteButton(props) {
|
||||||
//navigator.clipboard.writeText("discord.gg/asura")
|
//navigator.clipboard.writeText("discord.gg/asura")
|
||||||
export default function TournamentManager() {
|
export default function TournamentManager() {
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<>
|
||||||
<Appbar />
|
<Appbar />
|
||||||
<ManageTournament />
|
<ManageTournament />
|
||||||
<AnnounceButton />
|
<AnnounceButton />
|
||||||
<InviteButton />
|
<InviteButton />
|
||||||
<SaveButton />
|
<SaveButton />
|
||||||
<AlertContainer floatingTime={5000} />
|
<AlertContainer floatingTime={5000} />
|
||||||
</React.Fragment>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue