diff --git a/webapp/src/components/Pages/Layout.js b/webapp/src/components/Pages/Layout.js index 1710022..85fc82b 100644 --- a/webapp/src/components/Pages/Layout.js +++ b/webapp/src/components/Pages/Layout.js @@ -2,8 +2,6 @@ import { Outlet, Link } from "react-router-dom"; import React, { useState, useEffect } from 'react'; import {Container, Nav, Navbar, NavDropdown} from 'react-bootstrap'; - - const Layout = ({ isLogged, setIsLogged }) => { function onLogout(){ @@ -11,7 +9,6 @@ import {Container, Nav, Navbar, NavDropdown} from 'react-bootstrap'; setIsLogged(false); } - return ( <> @@ -20,7 +17,9 @@ import {Container, Nav, Navbar, NavDropdown} from 'react-bootstrap';