Skip to content

Commit e412af5

Browse files
committed
fix: remove unnecessary line
1 parent 5ecd9fc commit e412af5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

site/src/modules/workspaces/DynamicParameter/DynamicParameter.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ const DebouncedParameterField: FC<DebouncedParameterFieldProps> = ({
244244
const resizeTextarea = useEffectEvent(() => {
245245
if (textareaRef.current) {
246246
const textarea = textareaRef.current;
247-
textarea.style.height = "auto";
248247
textarea.style.height = `${textarea.scrollHeight}px`;
249248
}
250249
});

0 commit comments

Comments
 (0)