Skip to content

Commit 60224b3

Browse files
committed
#3884 fix: prettier errors
1 parent 78b9811 commit 60224b3

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ const columns: GridColDef[] = [
1919
{ field: 'assembly', headerName: 'Assembly Name', flex: 1 }
2020
];
2121

22-
const CopyBOMProjectSection: React.FC<CopyBOMProjectSectionProps> = ({
23-
selectedProject,
24-
onSelectionChange
25-
}) => {
22+
const CopyBOMProjectSection: React.FC<CopyBOMProjectSectionProps> = ({ selectedProject, onSelectionChange }) => {
2623
const [selectionModel, setSelectionModel] = useState<GridSelectionModel>([]);
2724
const {
2825
data: materials,

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@ const CopyBOMView: React.FC<CopyBOMViewProps> = ({
9898

9999
{selectedProject && (
100100
<Grid item xs={12}>
101-
<CopyBOMProjectSection
102-
selectedProject={selectedProject}
103-
onSelectionChange={setSelectedMaterialIds}
104-
/>
101+
<CopyBOMProjectSection selectedProject={selectedProject} onSelectionChange={setSelectedMaterialIds} />
105102
</Grid>
106103
)}
107104
</Grid>

0 commit comments

Comments
 (0)