diff --git a/src/common/Slider/Slider.js b/src/common/Slider/Slider.js index c877071c3..8eb258f4e 100644 --- a/src/common/Slider/Slider.js +++ b/src/common/Slider/Slider.js @@ -6,7 +6,7 @@ import styles from './styles'; class Slider extends Component { componentWillReceiveProps(nextProps) { if (this.props.orientation !== nextProps.orientation) { - console.warn('changing orientation property at runtime is not supported'); + console.warn(new Error('changing orientation property at runtime is not supported')); } }