mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 19:06:38 +08:00
Correct exclude if logic
This commit is contained in:
@@ -47,7 +47,7 @@ const withIgnoreUserActionFragments = withFragments({
|
||||
const enhance = compose(
|
||||
connect(null, mapDispatchToProps),
|
||||
withIgnoreUserActionFragments,
|
||||
excludeIf(({root: {me}, comment}) => me.id === comment.user.id),
|
||||
excludeIf(({root: {me}, comment}) => !me || me.id === comment.user.id),
|
||||
);
|
||||
|
||||
export default enhance(IgnoreUserActionContainer);
|
||||
|
||||
Reference in New Issue
Block a user