forked from cybrespace/mastodon
		
	Fix PropTypes.oneOfType() warning (#5041)
This commit is contained in:
		
							parent
							
								
									dd4ef69839
								
							
						
					
					
						commit
						b01ab55ed8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -8,7 +8,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
				
			||||||
export default class ColumnLoading extends ImmutablePureComponent {
 | 
					export default class ColumnLoading extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    title: PropTypes.oneOfType(PropTypes.node, PropTypes.string),
 | 
					    title: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
 | 
				
			||||||
    icon: PropTypes.string,
 | 
					    icon: PropTypes.string,
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue