fix lint error for unused variables

This commit is contained in:
Ashish Jain
2024-09-17 00:02:00 +02:00
parent 032a8cbbee
commit 2a7c3dc436

View File

@@ -3,7 +3,7 @@ import type { SVG } from '../../../diagram-api/types.js';
import { log } from '../../../logger.js'; import { log } from '../../../logger.js';
import type { Node, RenderOptions } from '../../types.d.ts'; import type { Node, RenderOptions } from '../../types.d.ts';
import intersect from '../intersect/index.js'; import intersect from '../intersect/index.js';
import { styles2String, userNodeOverrides } from './handDrawnShapeStyles.js'; import { userNodeOverrides } from './handDrawnShapeStyles.js';
import { getNodeClasses, updateNodeBounds } from './util.js'; import { getNodeClasses, updateNodeBounds } from './util.js';
export const filledCircle = ( export const filledCircle = (
@@ -11,7 +11,6 @@ export const filledCircle = (
node: Node, node: Node,
{ config: { themeVariables } }: RenderOptions { config: { themeVariables } }: RenderOptions
) => { ) => {
const { labelStyles, nodeStyles } = styles2String(node);
node.label = ''; node.label = '';
const shapeSvg = parent const shapeSvg = parent
.insert('g') .insert('g')