mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -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
|
let mermaidInitialized = false
|
||||||
|
|
||||||
const loadMermaid = async (): Promise<typeof import('mermaid')['default']> => {
|
const loadMermaid = async (): Promise<(typeof import('mermaid'))['default']> => {
|
||||||
try {
|
try {
|
||||||
return (await import(/* webpackChunkName: "mermaid" */ 'mermaid')).default
|
return (await import(/* webpackChunkName: "mermaid" */ 'mermaid')).default
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in a new issue