refact: removed commented code
This commit is contained in:
		
							parent
							
								
									76f9409b87
								
							
						
					
					
						commit
						42493e3125
					
				@ -12,16 +12,6 @@ class CreateTableForm extends Component {
 | 
				
			|||||||
    this.tableFileInput = React.createRef()
 | 
					    this.tableFileInput = React.createRef()
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // handleLabelChange = (e, value) => {
 | 
					 | 
				
			||||||
  //   e.preventDefault()
 | 
					 | 
				
			||||||
  //   this.setState({ label: value })
 | 
					 | 
				
			||||||
  // }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  // handleFileChange = (e, value) => {
 | 
					 | 
				
			||||||
  //   e.preventDefault()
 | 
					 | 
				
			||||||
  //   this.setState({ file: value })
 | 
					 | 
				
			||||||
  // }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  handleSubmit = async e => {
 | 
					  handleSubmit = async e => {
 | 
				
			||||||
    e.preventDefault()
 | 
					    e.preventDefault()
 | 
				
			||||||
    const label = this.tableLabelInput.current.inputRef.current.value
 | 
					    const label = this.tableLabelInput.current.inputRef.current.value
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user