mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04: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)
|
.onerror(showError)
|
||||||
.renderDot(code)
|
.renderDot(code)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
showError(error)
|
showError(error as string)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue