anyone-oslo/pages

View on GitHub
app/javascript/components/EditableImage.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function EditableImage has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function EditableImage(props: Props) {
  const [image, setImage] = useState(props.image);
  const [src, setSrc] = useState(props.src);

  const openModal = useModalStore((state) => state.open);
Severity: Minor
Found in app/javascript/components/EditableImage.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status