Skip to content

Commit

Permalink
Remove unnecessary prop pass-through
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed May 1, 2018
1 parent ee7ac14 commit de5b7f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions editor/components/post-author/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ export default compose( [
};
} ),
withAPIData( ( props ) => {
const { postType, authors } = props;
const { postType } = props;

return {
authors,
user: `/wp/v2/users/me?post_type=${ postType }&context=edit`,
};
} ),
Expand Down

0 comments on commit de5b7f0

Please sign in to comment.