Skip to content

Commit

Permalink
fix misplaced parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dopry committed Sep 11, 2017
1 parent dc01cd2 commit 37456b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MediaLibrary/MediaLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class MediaLibrary extends React.Component {
const files = [...fileList];
const file = files[0];
return dispatch(persistMedia(file, privateUpload))
.then(() => dispatch(0, loadMedia(this.state.query)));
.then(() => dispatch(loadMedia(0, this.state.query)));
};

handleInsert = () => {
Expand Down

0 comments on commit 37456b1

Please sign in to comment.