load pictures from the api server
This commit is contained in:
@@ -84,7 +84,7 @@ class Media extends Component {
|
||||
this.setState({ error: false });
|
||||
this.props.changeContent(URL.createObjectURL(pic), this.props.index, 'url');
|
||||
}
|
||||
this.props.changeContent(pic.name, this.props.index, 'media', 'picture');
|
||||
this.props.changeContent(pic, this.props.index, 'media', 'picture');
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user