Skip to content

Commit

Permalink
Fix NOTES_REMOVE action handler
Browse files Browse the repository at this point in the history
  • Loading branch information
phcp committed Oct 16, 2024
1 parent d2d26f3 commit 6acc7f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/notifications/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class Notifications extends Component {
},
],
NOTES_REMOVE: [
( store, { isComment } ) => {
( _, { isComment } ) => {
if ( isComment ) {
this.props.requestAdminMenu( this.props.selectedSiteId );
}
Expand Down Expand Up @@ -309,7 +309,8 @@ export default connect(
selectedSiteId: getSelectedSiteId( state ),
} ),
( dispatch ) => ( {
recordTracksEventAction: ( ...args ) => dispatch( recordTracksEventAction( ...args ) ),
recordTracksEventAction: ( name, properties ) =>
dispatch( recordTracksEventAction( name, properties ) ),
setUnseenCount: ( count ) => dispatch( setUnseenCount( count ) ),
didForceRefresh: () => dispatch( didForceRefresh() ),
requestAdminMenu: ( siteId ) => dispatch( requestAdminMenuAction( siteId ) ),
Expand Down

0 comments on commit 6acc7f7

Please sign in to comment.