added appbar and changed react.fragment to <>

This commit is contained in:
Kristoffer Juelsenn 2022-03-23 10:40:04 +01:00
parent aa9ae8a3e6
commit 9056d10117
1 changed files with 2 additions and 5 deletions

View File

@ -2,8 +2,6 @@ import * as React from "react";
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
import Appbar from "./components/appbar"; import Appbar from "./components/appbar";
import CssBaseline from '@mui/material/CssBaseline'
function CreateButton(props) { function CreateButton(props) {
return ( return (
<Link to="/"> <Link to="/">
@ -33,8 +31,8 @@ function CreateForm(props) {
return ( return (
<> <>
<form> <form>
<label for="name">Tournament Name:</label> <label for="name">Tournament Name: <input type="text" id="name" /></label>
<input type="text" id="name" />
<br /> <br />
<label for="description">Description:</label> <label for="description">Description:</label>
<input type="text" id="description" /> <input type="text" id="description" />
@ -58,7 +56,6 @@ function CreateForm(props) {
export default function CreateTournament(props) { export default function CreateTournament(props) {
return ( return (
<> <>
<CssBaseline />
<Appbar /> <Appbar />
<CreateForm /> <CreateForm />
<ParticipantLimit /> <ParticipantLimit />