From 1f307d571aa8c9ad95776ebe014ebd8d85172e6d Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 21 Nov 2024 01:13:16 +0100 Subject: [PATCH] autofix --- src/frontend/src/forms/selectionListFields.tsx | 12 ++++++------ .../Settings/AdminCenter/PartParameterPanel.tsx | 4 ++-- src/frontend/src/tables/part/SelectionListTable.tsx | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/frontend/src/forms/selectionListFields.tsx b/src/frontend/src/forms/selectionListFields.tsx index 702c7740eaca..f13de381616b 100644 --- a/src/frontend/src/forms/selectionListFields.tsx +++ b/src/frontend/src/forms/selectionListFields.tsx @@ -4,11 +4,11 @@ import { useMemo } from 'react'; import RemoveRowButton from '../components/buttons/RemoveRowButton'; import { StandaloneField } from '../components/forms/StandaloneField'; -import { +import type { ApiFormFieldSet, ApiFormFieldType } from '../components/forms/fields/ApiFormField'; -import { TableFieldRowProps } from '../components/forms/fields/TableField'; +import type { TableFieldRowProps } from '../components/forms/fields/TableField'; function BuildAllocateLineRow({ props @@ -66,19 +66,19 @@ function BuildAllocateLineRow({ return ( - + - + - + props.removeFn(props.idx)} /> diff --git a/src/frontend/src/pages/Index/Settings/AdminCenter/PartParameterPanel.tsx b/src/frontend/src/pages/Index/Settings/AdminCenter/PartParameterPanel.tsx index 0cae3441acd8..d17720f7ce83 100644 --- a/src/frontend/src/pages/Index/Settings/AdminCenter/PartParameterPanel.tsx +++ b/src/frontend/src/pages/Index/Settings/AdminCenter/PartParameterPanel.tsx @@ -11,9 +11,9 @@ export default function PartParameterPanel() { - + - {t`Selection Lists`} + {t`Selection Lists`} diff --git a/src/frontend/src/tables/part/SelectionListTable.tsx b/src/frontend/src/tables/part/SelectionListTable.tsx index 00e02045851c..0bd7e9ad47b0 100644 --- a/src/frontend/src/tables/part/SelectionListTable.tsx +++ b/src/frontend/src/tables/part/SelectionListTable.tsx @@ -13,10 +13,10 @@ import { import { useTable } from '../../hooks/UseTable'; import { apiUrl } from '../../states/ApiState'; import { useUserState } from '../../states/UserState'; -import { TableColumn } from '../Column'; +import type { TableColumn } from '../Column'; import { BooleanColumn } from '../ColumnRenderers'; import { InvenTreeTable } from '../InvenTreeTable'; -import { RowAction, RowDeleteAction, RowEditAction } from '../RowActions'; +import { type RowAction, RowDeleteAction, RowEditAction } from '../RowActions'; /** * Table for displaying list of selectionlist items @@ -104,7 +104,7 @@ export default function SelectionListTable() { const tableActions = useMemo(() => { return [ newSelectionList.open()} tooltip={t`Add Selection List`} />