From 56acc6864744edf549b023d1db75375fbd93f328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=CC=81bor=20Farkas?= Date: Mon, 5 Sep 2022 14:10:37 +0200 Subject: [PATCH] refactor: simplified code --- public/app/features/explore/Logs.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/public/app/features/explore/Logs.tsx b/public/app/features/explore/Logs.tsx index 1684b7f66a4..91c6ff05b95 100644 --- a/public/app/features/explore/Logs.tsx +++ b/public/app/features/explore/Logs.tsx @@ -336,14 +336,7 @@ class UnthemedLogs extends PureComponent { return ( <> - { - onToggleLogsVolume(isOpen); - }} - > + {logsVolumeEnabled && (