Skip to content

Commit 5e655ed

Browse files
committed
Fix duplicate import and JSX structure in WeeklyProjectSummary tools section
1 parent b00c7b9 commit 5e655ed

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/components/BMDashboard/WeeklyProjectSummary/WeeklyProjectSummary.jsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import SupplierPerformanceGraph from './SupplierPerformanceGraph.jsx';
2727
import MostFrequentKeywords from './MostFrequentKeywords/MostFrequentKeywords';
2828
import LessonsLearntChart from '../LessonsLearnt/LessonsLearntChart';
2929
import DistributionLaborHours from './DistributionLaborHours/DistributionLaborHours';
30-
import ToolsStoppageHorizontalBarChart from '../Tools/ToolsStoppageHorizontalBarChart';
3130
import ToolsStoppageHorizontalBarChart from './Tools/ToolsStoppageHorizontalBarChart/ToolsStoppageHorizontalBarChart';
3231
import IssueCharts from '../Issues/openIssueCharts';
3332
import ToolStatusDonutChart from './ToolStatusDonutChart/ToolStatusDonutChart';
@@ -295,7 +294,7 @@ function WeeklyProjectSummary() {
295294
{
296295
title: 'Tools and Equipment Tracking',
297296
key: 'Tools and Equipment Tracking',
298-
className: 'half',
297+
className: 'full',
299298
content: (
300299
<div className={styles.toolsTrackingLayout}>
301300
<div className={styles.toolsDonutWrap}>
@@ -307,13 +306,7 @@ function WeeklyProjectSummary() {
307306
<div className={styles.toolsDonutWrap}>
308307
<ToolsStoppageHorizontalBarChart darkMode={darkMode} />
309308
</div>
310-
<div
311-
className={`${styles.weeklyProjectSummaryCard} ${styles.normalCard}`}
312-
style={{ minHeight: '300px', gridColumn: 'span 2' }}
313-
>
314-
<ToolsStoppageHorizontalBarChart />
315-
</div>
316-
</>
309+
</div>
317310
),
318311
},
319312
{

0 commit comments

Comments
 (0)