diff --git a/src/components/Header/Header.jsx b/src/components/Header/Header.jsx index 9c5cc3e0..ec0d1b2a 100644 --- a/src/components/Header/Header.jsx +++ b/src/components/Header/Header.jsx @@ -2,12 +2,9 @@ import React, { useState, useEffect } from 'react'; import { Link, useLocation } from 'react-router-dom'; -import { isAuthenticated, isAuthenticationEnabled, logoutUser } from '../../utilities/authUtilities'; - // components -import { AppBar, Toolbar, Grid, Button } from '@mui/material'; +import { AppBar, Toolbar, Grid } from '@mui/material'; import SearchSuggestion from './SearchSuggestion'; -import UserAccountMenu from './UserAccountMenu'; // styling import makeStyles from '@mui/styles/makeStyles'; import logo from '!file-loader!../../assets/Alt_Linux_Team.svg'; @@ -137,10 +134,6 @@ function Header({ setSearchCurrentValue = () => {} }) { const classes = useStyles(); const path = useLocation().pathname; - const handleSignInClick = () => { - logoutUser(); - }; - return ( @@ -179,18 +172,6 @@ function Header({ setSearchCurrentValue = () => {} }) { github repository - {isAuthenticated() && isAuthenticationEnabled() && ( - - - - )} - {!isAuthenticated() && isAuthenticationEnabled() && ( - - - - )}