mirror of
https://github.com/wassname/talk.git
synced 2026-10-03 13:02:47 +08:00
Correct exclude if logic
This commit is contained in:
1 parent
c0252e160b
commit
89258638d4
1 file changed
+1
-1
@@ -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