best-doctor/ke

View on GitHub
src/DetailView/widgets/LinkWidget.tsx

Summary

Maintainability
A
1 hr
Test Coverage
B
89%

Function LinkWidget has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const LinkWidget = (props: LinkWidgetProps): JSX.Element => {
  const { name, mainDetailObject, href, helpText, style, containerStore, target = '_blank', linkProps } = props

  const context = containerStore.getState()
  const { content, widgetDescription } = useWidgetInitialization({ ...props, context })
Severity: Minor
Found in src/DetailView/widgets/LinkWidget.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status