From 0f36094b8803f6aa056b8a24579e2eb33935519f Mon Sep 17 00:00:00 2001 From: Dave Marco Date: Thu, 12 Sep 2024 19:32:13 +0000 Subject: [PATCH] fix lint --- .../src/components/StatusBar/LogLevelFilter.tsx | 14 ++++++++++---- .../src/contexts/StateContextProvider.tsx | 3 ++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx b/new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx index 75fd85f3..ebf39bc3 100644 --- a/new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx +++ b/new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx @@ -13,8 +13,12 @@ import { LOG_LEVEL_VALUES_LIST, } from "../../typings/logs"; - -export default function LogLevelFilter () { +/** + * Renders log level filter + * + * @return + */ +const LogLevelFilter = () => { const [selectedLogLevels, setSelectedLogLevels] = useState([ ...LOG_LEVEL_VALUES_LIST, ]); @@ -44,7 +48,7 @@ export default function LogLevelFilter () {