From c215c4843fe0a4da77865238147e67da35735ef5 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Wed, 1 Sep 2021 18:24:56 +0100 Subject: [PATCH] Remove unused variables --- src/Error404.js | 1 - src/GroupPage.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Error404.js b/src/Error404.js index 5798269..c090d7b 100644 --- a/src/Error404.js +++ b/src/Error404.js @@ -2,7 +2,6 @@ import React from 'react'; import NavBar from './NavBar'; import Footer from "./Footer"; import { HomeRounded as HomeRoundedIcon } from "@material-ui/icons"; -import LinkButton from "./LinkButton"; export default function PageNotFound() { const navbarItems = [ diff --git a/src/GroupPage.js b/src/GroupPage.js index 26e746f..0b13543 100644 --- a/src/GroupPage.js +++ b/src/GroupPage.js @@ -93,7 +93,6 @@ export default withRouter(class GroupPage extends Component { })); if (newState.role === "owner") { - var counter = 0; const getGroupMembers = () => { return this.state.functions.getGroupMembers({ groupId: this.props.match.params.groupId }) .catch((error) => {