From f6c64ff88ee36bd4a5db718c56aa1cc19e883bde Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sat, 10 Aug 2024 15:44:57 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Nicolas Mowen --- web/src/views/live/LiveDashboardView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/views/live/LiveDashboardView.tsx b/web/src/views/live/LiveDashboardView.tsx index 076e6b8e8..c151cc3ef 100644 --- a/web/src/views/live/LiveDashboardView.tsx +++ b/web/src/views/live/LiveDashboardView.tsx @@ -268,9 +268,9 @@ export default function LiveDashboardView({ useKeyboardListener(["f"], onKeyboardShortcut); const handleFullScreenQuery = useCallback( - (value: string) => { + () => { if (!fullscreen) { - toggleFullscreen(); + toggleFullscreen(); } }, [fullscreen, toggleFullscreen],