File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -303,11 +303,6 @@ function useOptimizedTextarea(initValue: string): OptimizedTextareaValue {
303303 useEffect ( ( ) => {
304304 if ( textareaRef . current ) {
305305 textareaRef . current . value = savedInitValue ;
306- console . log (
307- 'useOptimizedTextarea: set initValue' ,
308- savedInitValue ,
309- textareaRef . current
310- ) ;
311306 }
312307 } , [ textareaRef , savedInitValue ] ) ;
313308
@@ -318,19 +313,13 @@ function useOptimizedTextarea(initValue: string): OptimizedTextareaValue {
318313 setValue : ( value : string ) => {
319314 if ( textareaRef . current ) {
320315 textareaRef . current . value = value ;
321- console . log (
322- 'useOptimizedTextarea: set value' ,
323- value ,
324- textareaRef . current
325- ) ;
326316 }
327317 } ,
328318 focus : ( ) => {
329319 if ( textareaRef . current ) {
330320 // focus and move the cursor to the end
331321 textareaRef . current . focus ( ) ;
332322 textareaRef . current . selectionStart = textareaRef . current . value . length ;
333- console . log ( 'useOptimizedTextarea: focus' , textareaRef . current ) ;
334323 }
335324 } ,
336325 ref : textareaRef ,
You can’t perform that action at this time.
0 commit comments