From e42a8f1f176b6847fc20b11a8412a2114dae913f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ska=C5=82ka?= Date: Wed, 8 May 2024 13:20:26 +0200 Subject: [PATCH] Remove duplicated code --- src/MarkdownTextInput.web.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/MarkdownTextInput.web.tsx b/src/MarkdownTextInput.web.tsx index acdbadc8..2c367589 100644 --- a/src/MarkdownTextInput.web.tsx +++ b/src/MarkdownTextInput.web.tsx @@ -596,11 +596,6 @@ const MarkdownTextInput = React.forwardRef( CursorUtils.setCursorPosition(divRef.current, newSelection.start, newSelection.end); }, [selection, updateRefSelectionVariables]); - useEffect(() => { - handleContentSizeChange(); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - return ( // eslint-disable-next-line jsx-a11y/no-static-element-interactions