File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/react-jsx-highcharts/src/components/PlotBandLine Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import React , { memo } from 'react' ;
22import PropTypes from 'prop-types' ;
33import PlotBandLineContext from './PlotBandLineContext' ;
4- import usePlotBandLine from './usePlotBandLine ' ;
4+ import usePlotBandLineLifecycle from './usePlotBandLineLifecycle ' ;
55
66
77const PlotBand = memo ( props => {
8- const plotband = usePlotBandLine ( props , 'plotBands' ) ;
8+ const plotband = usePlotBandLineLifecycle ( props , 'plotBands' ) ;
99
1010 const { children } = props ;
1111
Original file line number Diff line number Diff line change 11import React , { memo } from 'react' ;
22import PropTypes from 'prop-types' ;
33import PlotBandLineContext from './PlotBandLineContext' ;
4- import usePlotBandLine from './usePlotBandLine ' ;
4+ import usePlotBandLineLifecycle from './usePlotBandLineLifecycle ' ;
55
66const PlotLine = memo ( props => {
7- const plotline = usePlotBandLine ( props , 'plotLines' ) ;
7+ const plotline = usePlotBandLineLifecycle ( props , 'plotLines' ) ;
88
99 const { children } = props ;
1010
File renamed without changes.
You can’t perform that action at this time.
0 commit comments