Enable ESLint react/no-deprecated (#24471)
This commit is contained in:
		
					parent
					
						
							
								2d5e257938
							
						
					
				
			
			
				commit
				
					
						b878e3d8df
					
				
			
		
					 27 changed files with 32 additions and 33 deletions
				
			
		|  | @ -76,7 +76,7 @@ export default class ColumnsArea extends ImmutablePureComponent { | |||
|     this.isRtlLayout = document.getElementsByTagName('body')[0].classList.contains('rtl'); | ||||
|   } | ||||
| 
 | ||||
|   componentWillUpdate(nextProps) { | ||||
|   UNSAFE_componentWillUpdate(nextProps) { | ||||
|     if (this.props.singleColumn !== nextProps.singleColumn && nextProps.singleColumn) { | ||||
|       this.node.removeEventListener('wheel', this.handleWheel); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue