diff --git a/src/components/layout/Header.js b/src/components/layout/Header.js index 2df1b40..2f4f247 100644 --- a/src/components/layout/Header.js +++ b/src/components/layout/Header.js @@ -14,7 +14,7 @@ import { useTranslation } from "react-i18next"; import Flag from "react-flags"; import Navigation from "./Navigation"; -const useStyles = makeStyles((theme) => ({ +const useStyles = makeStyles(theme => ({ root: { flexGrow: 1 }, @@ -23,6 +23,9 @@ const useStyles = makeStyles((theme) => ({ }, title: { flexGrow: 1 + }, + navigation: { + marginLeft: 0 } })); @@ -46,7 +49,7 @@ const Header = () => { }); }, [i18n.language]); - const handleMenu = (event) => { + const handleMenu = event => { setAnchorEl(event.currentTarget); }; @@ -54,7 +57,7 @@ const Header = () => { setAnchorEl(null); }; - const changeLanguage = (language) => () => { + const changeLanguage = language => () => { if (language != i18n.language) { i18n.changeLanguage(language); } @@ -83,7 +86,7 @@ const Header = () => { - + Reverse proxy