fix linting

jobatzil/fix/autolicense
Johannes Batzill 2023-09-21 13:46:49 -07:00
parent 890a22bc13
commit ab746f72eb
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ export function MarkdownEditorWithPreview({
if (autoFocusAndPosition && !dirty) {
scrollToAndSetCursorToEnd(containerRef, viewRef, value, true)
}
}, [autoFocusAndPosition, value])
}, [autoFocusAndPosition, viewRef, containerRef, scrollToAndSetCursorToEnd, value, dirty])
return (
<Container ref={containerRef} className={cx(css.container, { [css.noBorder]: noBorder }, className)}>