Skip to content

Commit

Permalink
Merge branch 'beta' of https://github.com/react-tools/react-charts in…
Browse files Browse the repository at this point in the history
…to beta
  • Loading branch information
tannerlinsley committed Jul 18, 2021
2 parents 00615b2 + 5b8afcb commit 8803434
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/buildAxis.linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function buildAxisLinear<TDatum>(
: options.scaleType === 'linear' || options.scaleType === 'log'
? buildLinearAxis(isPrimary, options, series, isVertical, range, outerRange)
: options.scaleType === 'band'
? buildBandAxis(isPrimary, options, series, isVertical, range, outerRange)
? buildBandAxis(options, series, isVertical, range, outerRange)
: (() => {
throw new Error('Invalid scale type')
})()
Expand Down Expand Up @@ -300,7 +300,6 @@ function buildLinearAxis<TDatum>(
}

function buildBandAxis<TDatum>(
isPrimary: boolean,
options: ResolvedAxisOptions<AxisBandOptions<TDatum>>,
series: Series<TDatum>[],
isVertical: boolean,
Expand Down

1 comment on commit 8803434

@vercel
Copy link

@vercel vercel bot commented on 8803434 Jul 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.