Skip to content
Snippets Groups Projects
Commit ec65ba11 authored by Niklas Schrötler's avatar Niklas Schrötler
Browse files

useLayout: Removed debug comments

parent 83abb2d2
No related branches found
No related tags found
No related merge requests found
...@@ -9,11 +9,8 @@ export default function useLayout(): LayoutConfig | null { ...@@ -9,11 +9,8 @@ export default function useLayout(): LayoutConfig | null {
useEffect(() => { useEffect(() => {
LayoutService.init().then(() => { LayoutService.init().then(() => {
const refresh = () => { const refresh = () => {
console.log("Resync")
const activeLayout = LayoutService.getActiveLayout(); const activeLayout = LayoutService.getActiveLayout();
console.log("Determined", activeLayout.id);
if(currentId.current !== activeLayout.id) { if(currentId.current !== activeLayout.id) {
console.log("Switching from", currentId.current, "to", activeLayout.id) console.log("Switching from", currentId.current, "to", activeLayout.id)
currentId.current = activeLayout.id; currentId.current = activeLayout.id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment