mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Fix linting errors
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
74b0562fc8
commit
c017df0a3c
24 changed files with 35 additions and 33 deletions
|
@ -56,7 +56,7 @@ export const GraphvizFrame: React.FC<GraphvizFrameProps> = ({ code }) => {
|
|||
showError(error as string)
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
.catch((error: Error) => {
|
||||
log.error('Error while loading graphviz', error)
|
||||
})
|
||||
}, [code, error, frontendBaseUrl, showError])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue