Skip to content
Snippets Groups Projects
Commit 01cca9e8 authored by Alexander Rose's avatar Alexander Rose
Browse files

use .componentDidUpdate in SliderBase

parent 7a23493e
No related branches found
No related tags found
No related merge requests found
......@@ -320,7 +320,7 @@ export class SliderBase extends React.Component<SliderBaseProps, SliderBaseState
private startValue = 0;
private _getPointsCache: any = void 0;
componentWillReceiveProps(nextProps: SliderBaseProps) {
componentDidUpdate(nextProps: SliderBaseProps) {
if (!('value' in nextProps || 'min' in nextProps || 'max' in nextProps)) return;
const { bounds } = this.state;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment