Skip to content

Commit

Permalink
Fix RangeSelectorInner not setting axisId
Browse files Browse the repository at this point in the history
  • Loading branch information
anajavi committed Sep 27, 2019
1 parent 9d6664c commit ed43336
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import PropTypes from 'prop-types';
import { attempt } from 'lodash-es';
import { useHighcharts, useAxis, useChart, useModifiedProps } from 'react-jsx-highcharts';

const RangeSelectorInner = ({ enabled = true, ...restProps }) => {
const RangeSelectorInner = ({ enabled = true, axisId, ...restProps }) => {
const props = { enabled, ...restProps };
const [rendered, setRendered] = useState(false);
const Highcharts = useHighcharts();
const chart = useChart();
const axis = useAxis();
const axis = useAxis(axisId);


useEffect(() => {
Expand Down

0 comments on commit ed43336

Please sign in to comment.