src/DetailView/widgets/LinkWidget.tsx
Function LinkWidget
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
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 })