From ec65ba115d66369d153e1a45d55103933c3c45a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Schr=C3=B6tler?= <niklas@allround.digital> Date: Mon, 27 Nov 2023 01:19:41 +0100 Subject: [PATCH] useLayout: Removed debug comments --- src/hooks/useLayout.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hooks/useLayout.ts b/src/hooks/useLayout.ts index 7c7ad62..3b93a20 100644 --- a/src/hooks/useLayout.ts +++ b/src/hooks/useLayout.ts @@ -9,11 +9,8 @@ export default function useLayout(): LayoutConfig | null { useEffect(() => { LayoutService.init().then(() => { const refresh = () => { - console.log("Resync") const activeLayout = LayoutService.getActiveLayout(); - console.log("Determined", activeLayout.id); - if(currentId.current !== activeLayout.id) { console.log("Switching from", currentId.current, "to", activeLayout.id) currentId.current = activeLayout.id; -- GitLab