Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ad1992 committed Nov 27, 2023
1 parent 1d5378a commit 4a4d715
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/mermaid/src/Diagram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ export const getDiagramFromText = async (
metadata: Pick<DiagramMetadata, 'title'> = {}
): Promise<Diagram> => {
const type = detectType(text, configApi.getConfig());
let title;

try {
// Trying to find the diagram
getDiagram(type);
Expand Down

0 comments on commit 4a4d715

Please sign in to comment.