From 6be913ca490b93c4f6ce70e52dd3bda074e23843 Mon Sep 17 00:00:00 2001
From: meskio <meskio@sindominio.net>
Date: Fri, 14 Jun 2024 18:07:04 +0200
Subject: [PATCH] Fix the exit button

* Closes: #31
---
 src/App.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/App.js b/src/App.js
index 3abbf38..2db34bb 100644
--- a/src/App.js
+++ b/src/App.js
@@ -71,6 +71,10 @@ function App() {
   };
 
   const logout = () => {
+    setNum(null);
+    setRole(null);
+    setDisabled(null);
+    setToken(null);
     Preferences.clear();
   };
 
-- 
GitLab