diff --git a/sports-matcher/client/src/pages/Dashboard.js b/sports-matcher/client/src/pages/Dashboard.js index c0af309..15338e6 100644 --- a/sports-matcher/client/src/pages/Dashboard.js +++ b/sports-matcher/client/src/pages/Dashboard.js @@ -1,11 +1,35 @@ import React from "react"; -// import { apiClient } from "../utils/httpClients"; +import { Button, InputGroup, FormControl } from "react-bootstrap"; +import "../styles/Dashboard.css"; +import { apiClient } from "../utils/httpClients"; export default class Dashboard extends React.Component{ constructor(props) { super(props); + this.state = { + displayedMatches: [], + }; + } + async getFirstName(){ + let user = await apiClient.get("/user"); + return user.firstName; } render() { - return(