mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 10:20:06 +02:00
fix lint error for unused variables
This commit is contained in:
@@ -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')
|
||||||
|
Reference in New Issue
Block a user