mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 03:33:58 -05: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) => {
|
||||
log.error('Error while loading graphviz', error)
|
||||
})
|
||||
}, [code, error, basePath, showError])
|
||||
}, [code, basePath, showError])
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
|
|
Loading…
Reference in a new issue