Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup prior to making logic changes #6041

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/mermaid/src/diagrams/class/classDb.ts
Co-authored-by: Sidharth Vinod <[email protected]>
jgreywolf and sidharthv96 committed Dec 10, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit ef572bb859c98feba28a8443f771f9a3aefe9e9f
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/class/classDb.ts
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ export const addClass = function (_id: string, label?: string) {
attributes: [],
annotations: [],
styles: [],
domId: MERMAID_DOM_ID_PREFIX + classId + '-' + classCounter,
domId: `${MERMAID_DOM_ID_PREFIX}${classId}-${classCounter}`,
} as ClassNode);

classCounter++;