diff --git a/src/Components/CollectionCardFunction.js b/src/Components/CollectionCardFunction.js index de9bb18ce27f388c031c9bf7e40b104ea61d359f..e177fa5ff610fc82f9871145543db61fe8e8a441 100644 --- a/src/Components/CollectionCardFunction.js +++ b/src/Components/CollectionCardFunction.js @@ -36,7 +36,6 @@ import ColCardOwnerOptions from './ColCardOwnerOptions.js' import ColCardPublicOptions from './ColCardPublicOptions' import { Link } from 'react-router-dom'; import {putRequest} from '../Components/HelperFunctions/getAxiosConfig' -import { saveHeaders } from '../Components/HelperFunctions/saveTokens'; import SignUpModal from './SignUpModal' import LoginModal from './LoginModal.js' import Snackbar from '@material-ui/core/Snackbar'; diff --git a/src/Components/IframeOverlay/DrawerContent.js b/src/Components/IframeOverlay/DrawerContent.js index 38907d688fab7632769096ecf825394c7c817573..72c1d659fd030cb72a7bb7a5ad38f2ef026ba341 100644 --- a/src/Components/IframeOverlay/DrawerContent.js +++ b/src/Components/IframeOverlay/DrawerContent.js @@ -9,6 +9,7 @@ import {getRequest} from '../HelperFunctions/getAxiosConfig' export default function DrawerContent(props) { const [resources, setResources] = useState([]); + // eslint-disable-next-line const [isLoading, setIsLoading] = useState(false); function handleSuccess(data) { diff --git a/src/Components/MenuBarMobile.js b/src/Components/MenuBarMobile.js index 4590e9dd578da0ed15a585e37982710e33cfced0..33bd2cb56acfa317bcdd2d6c60ae0ff16be5ab13 100644 --- a/src/Components/MenuBarMobile.js +++ b/src/Components/MenuBarMobile.js @@ -22,7 +22,6 @@ import styled from 'styled-components' import { Button } from '@material-ui/core' import logo from '../img/logo_small.svg' import { Link } from 'react-router-dom' -import Grid from '@material-ui/core/Grid'; import MobileDrawerMenu from './MobileDrawerMenu'; export default function MenuBarMobile(props) { diff --git a/src/Pages/Search.js b/src/Pages/Search.js index 8648fbaf61b2a2f986dce3186432ca33454a381d..fe891acf76a6ca83813a6cbd0aa680d11848bfc1 100644 --- a/src/Pages/Search.js +++ b/src/Pages/Search.js @@ -17,7 +17,6 @@ You should have received a copy of the GNU Affero General Public License along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/ import React, { useEffect, useState, useContext } from "react"; -import axios from "axios"; import { apiDomain } from '../env'; import { Link } from "react-router-dom"; import styled from "styled-components"; @@ -28,7 +27,6 @@ import LoadingSpinner from '../Components/LoadingSpinner'; // import UserCard from '../Components/UserCard' // import Select from "react-dropdown-select"; import Breadcrumbs from "@material-ui/core/Breadcrumbs"; -import { apiUrl } from "../env"; import "./Styles/Home.css"; import { Store } from "../Store"; import { Grid } from "@material-ui/core"; @@ -39,7 +37,6 @@ import ResourceCardFunction from "../Components/ResourceCardFunction"; import CollectionCardFunction from "../Components/CollectionCardFunction"; import ContactCard from "../Components/ContactCard"; import CircularProgress from '@material-ui/core/CircularProgress'; -import { saveHeaders } from '../Components/HelperFunctions/saveTokens'; import {getRequest} from '../Components/HelperFunctions/getAxiosConfig'