packages/react-params/src/Param/DispatchError.tsx
Function ErrorDisplay
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ErrorDisplay (props: Props): React.ReactElement<Props> {
const { t } = useTranslation();
const [{ details, type }, setDetails] = useState<Details>({});
useEffect((): void => {