Skip to content

Commit

Permalink
stress test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiarba committed Mar 28, 2021
1 parent b385a06 commit 8a3ab2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Login.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect } from 'react';
import { Redirect } from 'react-router';
import { Redirect } from 'react-router-dom';
import axios from 'axios';
import { Form } from 'antd';
import { getAnovaToken } from '../utils/utils';
Expand Down Expand Up @@ -46,7 +46,7 @@ const Login = props => {
}, []);

if (redirect) {
return <Redirect to="/Profile" />;
return <Redirect to="/SiteLessons" />;
}
return (
<div className="loginContainer">
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Roster.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Roster = props => {
}, [ismentor]);

const mentorRosterCards = mentorRoster.map(person => (
<RosterCard key={person.id} person={person} mentor={ismentor} />
<RosterCard key={person.id} person={person} mentor={false} />
));

const studentRosterCards = studentRoster.map(person => (
Expand Down
6 changes: 4 additions & 2 deletions client/src/stylesheets/Roster.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

.containerGrid {
background-color: #e6f4fc;
width: 80%;
height: 80%;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 20px;
Expand All @@ -27,6 +25,10 @@
}

@media (max-width: 1024px) {
.container {
align-items: center;
}

.containerGrid {
grid-template-columns: 50% 50%;
}
Expand Down

0 comments on commit 8a3ab2d

Please sign in to comment.