mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
warn message in slider updated
This commit is contained in:
parent
5614ffeed1
commit
c2a44a5a9b
1 changed files with 1 additions and 1 deletions
|
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue