|  | @@ -1,6 +1,7 @@
 | 
	
		
			
				|  |  |  import React from 'react';
 | 
	
		
			
				|  |  |  import logo from '../../logo.svg';
 | 
	
		
			
				|  |  |  import Mech from '../../Mech';
 | 
	
		
			
				|  |  | +import { isEmptySlot } from '../../MechUtils'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  type MemberProps = {
 | 
	
		
			
				|  |  |      mech: Mech;
 | 
	
	
		
			
				|  | @@ -18,7 +19,7 @@ function Member({mech, remover} : MemberProps) {
 | 
	
		
			
				|  |  |                      <li>Health : {mech.health}</li>
 | 
	
		
			
				|  |  |                  </ul>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  | -            <button onClick={event => remover()}>Remove</button>
 | 
	
		
			
				|  |  | +            <button onClick={event => remover()} disabled={isEmptySlot(mech)}>Remove</button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |      )
 | 
	
		
			
				|  |  |  }
 |