chore: Fix eslint errors

This commit is contained in:
Sidharth Vinod 2024-05-24 14:38:05 +05:30
parent dfe223c3b8
commit 8a079299a6
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
2 changed files with 3 additions and 4 deletions

View File

@ -1135,7 +1135,7 @@ export const insertNode = async (elem, node, dir) => {
let newEl;
let el;
console.log('insertNode element', elem, elem.node());
// console.log('insertNode element', elem, elem.node());
// debugger;
// Add link when appropriate
if (node.link) {

View File

@ -15,7 +15,7 @@ export const labelHelper = async (parent, node, _classes, isNode) => {
classes = _classes;
}
console.log('parentY', parent.node());
// console.log('parentY', parent.node());
// Add outer g element
const shapeSvg = parent
@ -34,9 +34,8 @@ export const labelHelper = async (parent, node, _classes, isNode) => {
labelText = typeof node.labelText === 'string' ? node.labelText : node.labelText[0];
}
const textNode = label.node();
console.log('parentX', parent, 'node',node,'labelText',labelText, textNode, node.labelType, 'label', label.node());
// console.log('parentX', parent, 'node',node,'labelText',labelText, textNode, node.labelType, 'label', label.node());
let text;
if (node.labelType === 'markdown') {
// text = textNode;