Browse Source

fix(growing-input): Remove extraneous layout effect (#71316)

Remove extraneous layout effect
ArthurKnaus 9 months ago
parent
commit
1c451aede1
1 changed files with 0 additions and 1 deletions
  1. 0 1
      static/app/components/growingInput.tsx

+ 0 - 1
static/app/components/growingInput.tsx

@@ -70,7 +70,6 @@ export const GrowingInput = forwardRef<HTMLInputElement, InputProps>(
       }
     }, [isControlled]);
 
-    useLayoutEffect(() => {});
     return (
       <StyledInput {...props} ref={mergeRefs([ref, inputRef])} onChange={handleChange} />
     );