mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-25 22:21:15 +00:00
Fix typescript error
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
8670b40a46
commit
2adc1991bc
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export const GraphvizFrame: React.FC<GraphvizFrameProps> = ({ code }) => {
|
|||
.onerror(showError)
|
||||
.renderDot(code)
|
||||
} catch (error) {
|
||||
showError(error)
|
||||
showError(error as string)
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
|
|
Loading…
Reference in a new issue