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 Appbar from "./components/appbar";
import CssBaseline from '@mui/material/CssBaseline'
function CreateButton(props) {
return (
<Link to="/">
@ -33,8 +31,8 @@ function CreateForm(props) {
return (
<>
<form>
<label for="name">Tournament Name:</label>
<input type="text" id="name" />
<label for="name">Tournament Name: <input type="text" id="name" /></label>
<br />
<label for="description">Description:</label>
<input type="text" id="description" />
@ -58,7 +56,6 @@ function CreateForm(props) {
export default function CreateTournament(props) {
return (
<>
<CssBaseline />
<Appbar />
<CreateForm />
<ParticipantLimit />