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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user