mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
fix: code formatting in mermaid-chart.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
236562cd9d
commit
cbfed96398
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const log = new Logger('MermaidChart')
|
|||
|
||||
let mermaidInitialized = false
|
||||
|
||||
const loadMermaid = async (): Promise<typeof import('mermaid')['default']> => {
|
||||
const loadMermaid = async (): Promise<(typeof import('mermaid'))['default']> => {
|
||||
try {
|
||||
return (await import(/* webpackChunkName: "mermaid" */ 'mermaid')).default
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in a new issue