Skip to content

Commit

Permalink
reenable prettier, reformated Histogram.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
quanhm committed Feb 9, 2022
1 parent f6bae39 commit ab067bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion superset-frontend/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ CHANGELOG.md
*-topo.json
temporary_superset_ui/
storybook-static/
plugins/legacy-plugins-chart-histogram/src/Histogram.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ class CustomHistogram extends React.PureComponent {
</div>
<div>
<strong>{t('percentile (exclusive)')} </strong>
{`${((datum.cumulativeDensity - datum.density) * 100).toPrecision(4)}th`}
{`${(
(datum.cumulativeDensity - datum.density) *
100
).toPrecision(4)}th`}
</div>
</div>
)}
Expand Down

0 comments on commit ab067bd

Please sign in to comment.