Removed extra console.log statements

pull/3/head
Nishant Arora 8 years ago
parent f07888a090
commit 3ec4b3b0c7

@ -11,10 +11,8 @@ class LogoUpload extends React.Component {
handleUpload(e) { handleUpload(e) {
e.preventDefault(); e.preventDefault();
var logo = this.refs.logo.files[0]; var logo = this.refs.logo.files[0];
console.log(logo);
var formData = new FormData(); var formData = new FormData();
formData.append('logo', logo); formData.append('logo', logo);
console.log(formData);
var myHeaders = new Headers({ var myHeaders = new Headers({
"x-access-token": window.localStorage.getItem('userToken') "x-access-token": window.localStorage.getItem('userToken')
}); });

Loading…
Cancel
Save