2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-14 03:46:44 +00:00

[PUI] fix a few sonarcloud warnings (#8133)

* fix a few code issues

* fix common sonarcloud issues

* more small fixes
This commit is contained in:
Matthias Mair
2024-09-17 06:16:29 +02:00
committed by GitHub
parent 45aab46db3
commit 7c937fa283
53 changed files with 211 additions and 229 deletions

View File

@@ -34,7 +34,7 @@ export default function BuildAllocatedStockTable({
allowEdit,
modelTarget,
modelField
}: {
}: Readonly<{
buildId?: number;
stockId?: number;
partId?: number;
@@ -43,7 +43,7 @@ export default function BuildAllocatedStockTable({
allowEdit?: boolean;
modelTarget?: ModelType;
modelField?: string;
}) {
}>) {
const user = useUserState();
const table = useTable('buildallocatedstock');