Skip to content

Commit 2241c2e

Browse files
committed
#3884 fix: linting fixes
1 parent 60224b3 commit 2241c2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM/CopyBOM/CopyBOMProjectSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const CopyBOMProjectSection: React.FC<CopyBOMProjectSectionProps> = ({ selectedP
4141
setSelectionModel(allIds);
4242
onSelectionChange(allIds);
4343
}
44-
}, [materials]);
44+
}, [materials, onSelectionChange]);
4545

4646
if (isLoadingMaterials || isLoadingAssemblies || !materials || !assemblies) return <LoadingIndicator />;
4747
if (isErrorMaterials) return <ErrorPage message={materialsError?.message} />;

0 commit comments

Comments
 (0)