mirror of https://github.com/harness/drone.git
fix linting
parent
890a22bc13
commit
ab746f72eb
|
@ -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)}>
|
||||
|
|
Loading…
Reference in New Issue