Remove console.log

This commit is contained in:
Lim Chee Aun 2023-03-26 15:09:52 +08:00
parent 35a8641f16
commit 6a273b51bd

View file

@ -1335,7 +1335,6 @@ const Textarea = forwardRef((props, ref) => {
value={text}
onInput={(e) => {
const { scrollHeight, offsetHeight, clientHeight, value } = e.target;
console.log('textarea input', value);
setText(value);
const offset = offsetHeight - clientHeight;
e.target.style.height = value ? scrollHeight + offset + 'px' : null;