From 96203845af483600c967bd236ba2f8a8f7e37cfc Mon Sep 17 00:00:00 2001 From: Nikolas Savvidis Date: Tue, 16 Apr 2024 06:44:26 +0200 Subject: [PATCH] disable log prints (temp workaround) - handle in next iteration --- src/morph/snapshot.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/morph/snapshot.ts b/src/morph/snapshot.ts index 8bf323e..2228c78 100644 --- a/src/morph/snapshot.ts +++ b/src/morph/snapshot.ts @@ -134,7 +134,8 @@ export function morphSnap (snapNode: Element, nodes: string[], isPatch = false) const nodeRef = nodes.shift(); if (!nodeRef) { - log(LogType.ERROR, 'Undefined reference, the snapshot record failed to align', node); + // console.log('MORPH SNAP', nodeRef, node); + // log(LogType.ERROR, 'Undefined reference, the snapshot record failed to align', node); } if ($elements.has(nodeRef)) { @@ -155,11 +156,12 @@ export function morphSnap (snapNode: Element, nodes: string[], isPatch = false) } return false; - } } else { - log(LogType.ERROR, 'Undefined reference, the snapshot record failed to align', node); + + // log(LogType.ERROR, 'Undefined reference, the snapshot record failed to align', node); + } }