From ce667bc53bb460785f79bd1ea0b6abcb3cdd3075 Mon Sep 17 00:00:00 2001 From: singh-kanwarpreet Date: Thu, 14 Aug 2025 15:02:44 +0530 Subject: [PATCH] Improved code quality --- client/src/Pages/Logs/Logs/index.jsx | 58 ++++++++++++++++++---------- client/src/Pages/Logs/index.jsx | 28 +++++--------- 2 files changed, 46 insertions(+), 40 deletions(-) diff --git a/client/src/Pages/Logs/Logs/index.jsx b/client/src/Pages/Logs/Logs/index.jsx index 29cc55a9b..d9ce2a25c 100644 --- a/client/src/Pages/Logs/Logs/index.jsx +++ b/client/src/Pages/Logs/Logs/index.jsx @@ -50,32 +50,48 @@ const Logs = () => { { _id: "debug", name: t("logsPage.logLevelSelect.values.debug") }, ]; return ( - - + {t("logsPage.description")} - - - {t("logsPage.logLevelSelect.title")} - { + setLogLevel(e.target.value); + }} + /> { }; const BREADCRUMBS = [{ name: t("logsPage.title"), path: "/logs" }]; - return ( - - - - - - - - - - {/* Main content */} + + + + {value === 0 && } {value === 1 && } {value === 2 && }