mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fix: not show comment correct if user liked the post at the same time
This commit is contained in:
@@ -95,7 +95,7 @@ const WebmentionReplies = ({ target }) => {
|
||||
...new Map(mentions.map((item) => [item.author.url, item])).values()
|
||||
].sort((a, b) => new Date(a['wm-received']) - new Date(b['wm-received']))
|
||||
|
||||
const replies = distinctMentions.filter(
|
||||
const replies = mentions.filter(
|
||||
(mention) => 'in-reply-to' in mention && 'content' in mention
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user