Currently, there is an input box for comment and the comment is posted on pressing Enter. It's better to have a textarea there instead and remove the functionality where Enter posts the comment.
react-autosize-textarea is already present as a dependency and can be used for this purpose.
Currently, there is an
inputbox for comment and the comment is posted on pressingEnter. It's better to have atextareathere instead and remove the functionality whereEnterposts the comment.react-autosize-textareais already present as a dependency and can be used for this purpose.