RocketChat/Rocket.Chat

View on GitHub
packages/uikit-playground/src/Components/ScreenThumbnail/EditableLabel/EditableLabel.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function EditableLabel has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const EditableLabel = (props: ComponentProps<typeof Input>) => {
  const [hover, setHover] = useState<boolean>(false);
  const inputRef = useRef<HTMLInputElement>(null);

  const iconClickHandler: MouseEventHandler<HTMLElement> = (e) => {

    There are no issues that match your filters.

    Category
    Status