Safeguard posts from clobbered state (#3006)

This commit is contained in:
dan
2024-02-28 00:48:54 +00:00
committed by GitHub
parent 6bd68e5321
commit 603f3c0be9
2 changed files with 4 additions and 0 deletions
@@ -94,6 +94,8 @@ export function PostThreadItem({
if (richText && moderation) {
return (
<PostThreadItemLoaded
// Safeguard from clobbering per-post state below:
key={postShadowed.uri}
post={postShadowed}
prevPost={prevPost}
nextPost={nextPost}
+2
View File
@@ -70,6 +70,8 @@ export function FeedItem({
if (richText && moderation) {
return (
<FeedItemInner
// Safeguard from clobbering per-post state below:
key={postShadowed.uri}
post={postShadowed}
record={record}
reason={reason}