Code cleanup

This commit is contained in:
uonai 2020-08-02 23:03:10 -05:00
parent 4beb1759b0
commit b8b5996536

View File

@ -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 = {