Skip to content

Commit 6f88c28

Browse files
committed
make SearchCardAdapter use correct arguments for showSelectedPost
1 parent dc18083 commit 6f88c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/reader/search-stream/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ const SearchCardAdapter = ( isRecommendations ) => class extends Component {
7070

7171
onCardClick = ( post ) => {
7272
recordTrackForPost( 'calypso_reader_searchcard_clicked', post );
73-
this.props.handleClick( { post } );
73+
this.props.handleClick();
7474
}
7575

7676
onCommentClick = () => {
77-
this.props.handleClick( this.props.post, { comments: true } );
77+
this.props.handleClick( { comments: true } );
7878
}
7979

8080
render() {

0 commit comments

Comments
 (0)