Remove console.log

pull/86/head
Lim Chee Aun 2023-03-26 15:09:52 +08:00
rodzic 35a8641f16
commit 6a273b51bd
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -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;