Skip to content

Commit

Permalink
disable log prints (temp workaround) - handle in next iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
panoply committed Apr 16, 2024
1 parent 563fd17 commit 9620384
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/morph/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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);

}
}

Expand Down

0 comments on commit 9620384

Please sign in to comment.