X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=resources%2Fjs%2Fapp%2FHeader.js;h=ce30c321a9b59b15a50381b1f60b70fb127ce5cb;hb=74c0a62db7e22aadfb5671dc240afc01982a15d9;hp=b3256786df9700c9355514c3fb594c57c1584052;hpb=16662be0b3432d67307ae8c2bb798362d77bab99;p=alttp.git
diff --git a/resources/js/app/Header.js b/resources/js/app/Header.js
index b325678..ce30c32 100644
--- a/resources/js/app/Header.js
+++ b/resources/js/app/Header.js
@@ -1,4 +1,3 @@
-import PropTypes from 'prop-types';
import React from 'react';
import { Container, Nav, Navbar } from 'react-bootstrap';
import { LinkContainer } from 'react-router-bootstrap';
@@ -9,7 +8,7 @@ import LanguageSwitcher from './LanguageSwitcher';
import User from './User';
import Icon from '../components/common/Icon';
-const Header = ({ doLogout }) => {
+const Header = () => {
const { pathname } = useLocation();
const { t } = useTranslation();
@@ -47,15 +46,11 @@ const Header = ({ doLogout }) => {
-
+
;
};
-Header.propTypes = {
- doLogout: PropTypes.func,
-};
-
export default Header;