Skip to content

Commit

Permalink
Merge pull request #86 from software-students-fall2021/SmallChanges
Browse files Browse the repository at this point in the history
fixed linting errors
  • Loading branch information
tanyasingh7 authored Nov 1, 2021
2 parents f3c8287 + 6924921 commit 79b40d4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions front-end/src/components/BackButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './BackButton.css';
import { useHistory } from "react-router-dom";
import React from 'react';

function BackButton(props) {
function BackButton() {
let history = useHistory();
const goToPrevPage = () => {
history.goBack()
Expand All @@ -12,6 +12,6 @@ function BackButton(props) {
<button onClick ={goToPrevPage}> Back </button>
</div>
);
};
}

export default BackButton;
2 changes: 1 addition & 1 deletion front-end/src/pages/CreateRoom.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './CreateRoom.css';

import React from 'react';

function CreateRoom(props) {
function CreateRoom() {
return (
<div className="CreateRoom">
create
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/pages/InviteCode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './InviteCode.css';

import React from 'react';

function InviteCode(props) {
function InviteCode() {
return (
<div className="InviteCode">
invite
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/pages/JoinRoom.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './JoinRoom.css';

import React from 'react';

function JoinRoom(props) {
function JoinRoom() {
return (
<div className="JoinRoom">
Join
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/pages/TeamPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import BackButton from '../components/BackButton';
import { Link } from "react-router-dom";

function TeamPage(props) {
function TeamPage() {
return (
<div className="TeamPage">
<div id="full-page">
Expand Down

0 comments on commit 79b40d4

Please sign in to comment.