mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Format and automatically fix linted code.
This commit is contained in:
@@ -74,7 +74,7 @@ export default function TextAreaAutoSize(props: TextAreaAutoSizeProps) {
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (ref.current && ghost.current) {
|
||||
ref.current.style.height = ghost.current.clientHeight + "px";
|
||||
ref.current.style.height = `${ghost.current.clientHeight}px`;
|
||||
}
|
||||
}, [ghost, props.value]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user