master
Tudor Stanciu 2020-05-12 02:48:18 +03:00
parent 49ebb12757
commit e0cb726a69
4 changed files with 6 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import SessionContainer from "../features/session/components/SessionContainer";
function App() {
return (
<div className="container-fluid">
<div>
<Header />
<Switch>
<Route exact path="/" component={HomePage} />

View File

@ -1,5 +1,5 @@
import { get } from "../../api/axiosApi";
const baseUrl = process.env.REVERSE_PROXY_API_URL + "/server";
const baseUrl = `${process.env.REVERSE_PROXY_API_URL}/server`;
const getServerSessions = () => get(`${baseUrl}/sessions`);

View File

@ -30,8 +30,8 @@ const SessionListComponent = ({ sessions }) => {
<ExpansionPanel key={session.sessionId}>
<ExpansionPanelSummary
expandIcon={<ExpandMoreIcon />}
aria-controls="panel1a-content"
id="panel1a-header"
aria-controls={`panel-${session.sessionId}-content`}
id={`panel-${session.sessionId}-header`}
>
<SessionSummary session={session} />
</ExpansionPanelSummary>

View File

@ -1,6 +1,7 @@
#app {
max-width: 850px;
margin: 0 auto;
padding-left: 50px;
padding-right: 50px;
}
nav {