client/src/app_infra/infra/infraList.js
Function createInfraItem
has 80 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const createInfraItem = (context) => {
const { tr, history, rest, theme } = context;
const { palette } = theme;
const BadgeRegion = badgeRegion(context);
Function createInfraList
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const createInfraList = (context) => {
const { tr, history } = context;
const Form = createForm(context);
const Page = page(context);
const Button = button(context, {