mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post): add modQueueError, isPublishing, onApprove, onReject to memo comparator
This commit is contained in:
@@ -101,7 +101,11 @@ export const Post = memo(
|
|||||||
prevProps.showReplies === nextProps.showReplies &&
|
prevProps.showReplies === nextProps.showReplies &&
|
||||||
prevProps.targetReplyCid === nextProps.targetReplyCid &&
|
prevProps.targetReplyCid === nextProps.targetReplyCid &&
|
||||||
prevProps.isModQueue === nextProps.isModQueue &&
|
prevProps.isModQueue === nextProps.isModQueue &&
|
||||||
prevProps.modQueueStatus === nextProps.modQueueStatus
|
prevProps.modQueueStatus === nextProps.modQueueStatus &&
|
||||||
|
prevProps.modQueueError === nextProps.modQueueError &&
|
||||||
|
prevProps.isPublishing === nextProps.isPublishing &&
|
||||||
|
prevProps.onApprove === nextProps.onApprove &&
|
||||||
|
prevProps.onReject === nextProps.onReject
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user