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";
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
<>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
</>,
|
||||
document.getElementById("root")
|
||||
);
|
||||
|
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue