diff --git a/webapp/src/App.js b/webapp/src/App.js
index acf3745..337ef18 100644
--- a/webapp/src/App.js
+++ b/webapp/src/App.js
@@ -25,8 +25,9 @@ function PrivateRoute({ element, ...props }) {
return (
<>
-
+
+
}>
{
+
+
+ const Layout = ({ isLogged, setIsLogged }) => {
+
+ function onLogout(){
+ localStorage.setItem('isLogged', JSON.stringify(false));
+ setIsLogged(false);
+ }
+
+
return (
<>
@@ -13,8 +23,16 @@ const Layout = (isLogged) => {
Estadísticas