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 { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
import Button from '@mui/material/Button'
export default function OverviewButton(props) {
return (
<button className="OverviewButton">
<Link to="/tournament">View Tournament</Link>
</button>
<Link to="/tournament" style={{textDecoration:'none'}}>
<Button className="OverviewButton">
View Tournament
</Button>
</Link>
);
}