Skip to content

Commit f5b6302

Browse files
committed
client_profile_dev: Removed some comments
1 parent e54b942 commit f5b6302

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

amp-client/src/Pages/ProviderPages/ProviderDashboard/ProviderDashboard.jsx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -532,38 +532,6 @@ const ProviderDashboard = () => {
532532
<p>No detailed metrics data available.</p>
533533
)}
534534
</div>
535-
536-
{/* <div className="chart-widget all-metrics-widget">
537-
<h3>All Metrics</h3>
538-
{allMetrics && Object.keys(allMetrics).length > 0 ? (
539-
<table>
540-
<thead>
541-
<tr>
542-
<th>ID</th>
543-
<th>Voltage</th>
544-
<th>Current</th>
545-
<th>Power</th>
546-
<th>Energy</th>
547-
<th>Timestamp</th>
548-
</tr>
549-
</thead>
550-
<tbody>
551-
{allMetrics.map((metric, index) => (
552-
<tr key={metric.id}>
553-
<td>{metric.id}</td>
554-
<td>{metric.voltage}</td>
555-
<td>{metric.current}</td>
556-
<td>{metric.power}</td>
557-
<td>{metric.energy}</td>
558-
<td>{new Date(metric.created_at).toLocaleString()}</td>
559-
</tr>
560-
))}
561-
</tbody>
562-
</table>
563-
) : (
564-
<p>No detailed metrics data available.</p>
565-
)}
566-
</div> */}
567535
</div>
568536
)}
569537
</div>

0 commit comments

Comments
 (0)