mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 00:38:49 +01:00
Remove console.log
This commit is contained in:
parent
35a8641f16
commit
6a273b51bd
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue