mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-22 21:45:56 +03:00
removed extra state variable
This commit is contained in:
parent
1665777170
commit
f3255a38f7
@ -58,7 +58,7 @@ export default class SceneEditAccount extends React.Component {
|
||||
};
|
||||
|
||||
_handleUpload = async (e) => {
|
||||
this.setState({ changingAvatar: true, changingBio: true });
|
||||
this.setState({ changingAvatar: true });
|
||||
let json = await UserBehaviors.uploadImage(e.target.files[0], this.props.resources, true);
|
||||
if (!json) {
|
||||
this.setState({ changingAvatar: false });
|
||||
|
Loading…
Reference in New Issue
Block a user