mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
Remove unnecessary effect dependency
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
0b22795721
commit
a1fab0bb73
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export const GraphvizFrame: React.FC<CodeProps> = ({ code }) => {
|
||||||
.catch((error: Error) => {
|
.catch((error: Error) => {
|
||||||
log.error('Error while loading graphviz', error)
|
log.error('Error while loading graphviz', error)
|
||||||
})
|
})
|
||||||
}, [code, error, basePath, showError])
|
}, [code, basePath, showError])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue