mermaid.render() returns 'undefined' for svgCode in Blazor. #6264
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
I expected return svgCode with 'await mermaid.render('Id', mermaidText)' but returns 'undefined'.
My code is bellow.
Steps to reproduce and Code Sample
App.razor
for initialize mermaid.Screenshots
The browser's developer tools show that “undefined” is returned for svgCode.
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: