Fixed link and implemented MUI

This commit is contained in:
Kristoffer Juelsenn 2022-03-22 15:49:28 +01:00
parent 2e52149e8e
commit c5872f65b6
1 changed files with 6 additions and 3 deletions

View File

@ -1,10 +1,13 @@
import React from "react"; import 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 Button from '@mui/material/Button'
export default function OverviewButton(props) { export default function OverviewButton(props) {
return ( return (
<button className="OverviewButton"> <Link to="/tournament" style={{textDecoration:'none'}}>
<Link to="/tournament">View Tournament</Link> <Button className="OverviewButton">
</button> View Tournament
</Button>
</Link>
); );
} }