Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
boygirl committed Jun 23, 2021
1 parent 5d47ea1 commit 8ddc2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/victory-core/src/victory-util/domain.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ function getDomainFromData(props, axis, dataset) {
function getDomainFromMinMax(min, max) {
const getSinglePointDomain = (val) => {
// d3-scale does not properly resolve very small differences.
// eslint-disable-next-line no-magic-numbers
const verySmallNumber =
// eslint-disable-next-line no-magic-numbers
val === 0 ? 2 * Math.pow(10, -10) : Math.pow(10, -10);
const verySmallDate = 1;
const minVal =
Expand Down

0 comments on commit 8ddc2c0

Please sign in to comment.