Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rjwignar committed Mar 26, 2024
1 parent ee32550 commit 86ef79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NomnomlPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const NomnomlPreview = ({ children }: NomnomlPreviewProps) => {
svgElement.style.width = "100%";
}
} catch (err: any) {
// If diagram fails, use error vs. diagram for copying (to debug)
// When the diagram fails, use the error vs. diagram for copying (to debug)
setValue(err);
console.warn(`Error rendering nomnoml diagram`, err);
}
Expand Down

0 comments on commit 86ef79d

Please sign in to comment.