Skip to content

Commit

Permalink
[ML] Single metric viewer: Explorer chart label prop types fix (elast…
Browse files Browse the repository at this point in the history
…ic#201137)

## Summary

Currently, on the dashboards page, if an explorer charts embeddable is
attached, an error appears in the console:
![Screenshot 2024-11-21 at 13 06
37](https://github.com/user-attachments/assets/978d254c-d971-46c6-b79d-b912d2fa35ae)

This issue occurs due to a PropTypes typo: `boolean` instead of `bool`.
  • Loading branch information
rbrtj authored Nov 21, 2024
1 parent 8c00f5f commit 90a9565
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function ExplorerChartLabel({
}
ExplorerChartLabel.propTypes = {
detectorLabel: PropTypes.object.isRequired,
isEmbeddable: PropTypes.boolean,
isEmbeddable: PropTypes.bool,
entityFields: PropTypes.arrayOf(ExplorerChartLabelBadge.propTypes.entity),
infoTooltip: PropTypes.object.isRequired,
wrapLabel: PropTypes.bool,
Expand Down

0 comments on commit 90a9565

Please sign in to comment.