mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-24 17:44:50 +03:00
Code cleanup
This commit is contained in:
parent
4beb1759b0
commit
b8b5996536
@ -74,12 +74,10 @@ export default class ApplicationPage extends React.Component {
|
||||
};
|
||||
|
||||
_handleSetFile = async ({ file, slate }) => {
|
||||
//
|
||||
console.log(file);
|
||||
this.setState({ fileLoading: true });
|
||||
|
||||
let data = new FormData();
|
||||
data.append("image", file);
|
||||
data.append("data", file);
|
||||
console.log(data);
|
||||
|
||||
const options = {
|
||||
|
Loading…
Reference in New Issue
Block a user