Skip to content

Commit

Permalink
Fix [UI] Build error due to console.log (#2454)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan7empest authored May 19, 2024
1 parent 92b5003 commit 429010a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/DetailsMetrics/DetailsMetrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const DetailsMetrics = ({ selectedItem }) => {
params.name.push(metric.full_name)
})

// todo: metrics - remove if block after test and when real API ready with all types (for now metrics type is not supported and it leads to error)
// todo: metrics - remove if block after test and when real API ready with all types (for now metrics type is not supported and it leads to error)
if (isEmpty(params.name))
params.name.push('for-mock-only.histogram-data-drift.result.hellinger_mean')

Expand All @@ -91,6 +91,7 @@ const DetailsMetrics = ({ selectedItem }) => {
}, [dispatch, selectedItem, detailsStore.dates, detailsStore.metricsOptions.selectedByEndpoint])

// todo: metrics - - remove when merge charts
/* eslint-disable-next-line no-console */
console.log(metrics)

return <div className="metrics">Home for Metrics</div>
Expand Down

0 comments on commit 429010a

Please sign in to comment.