()
| 45 | const isAllSpaces = (str: string): boolean => (/^\s*$/).test(str); |
| 46 | |
| 47 | const isCommentValid = () => { |
| 48 | return !isAllSpaces(commentText); |
| 49 | }; |
| 50 | |
| 51 | // Function to adjust the height of the textarea |
| 52 | const adjustTextareaHeight = () => { |
no test coverage detected