Safeguard posts from clobbered state (#3006)
parent
6bd68e5321
commit
603f3c0be9
|
@ -94,6 +94,8 @@ export function PostThreadItem({
|
||||||
if (richText && moderation) {
|
if (richText && moderation) {
|
||||||
return (
|
return (
|
||||||
<PostThreadItemLoaded
|
<PostThreadItemLoaded
|
||||||
|
// Safeguard from clobbering per-post state below:
|
||||||
|
key={postShadowed.uri}
|
||||||
post={postShadowed}
|
post={postShadowed}
|
||||||
prevPost={prevPost}
|
prevPost={prevPost}
|
||||||
nextPost={nextPost}
|
nextPost={nextPost}
|
||||||
|
|
|
@ -70,6 +70,8 @@ export function FeedItem({
|
||||||
if (richText && moderation) {
|
if (richText && moderation) {
|
||||||
return (
|
return (
|
||||||
<FeedItemInner
|
<FeedItemInner
|
||||||
|
// Safeguard from clobbering per-post state below:
|
||||||
|
key={postShadowed.uri}
|
||||||
post={postShadowed}
|
post={postShadowed}
|
||||||
record={record}
|
record={record}
|
||||||
reason={reason}
|
reason={reason}
|
||||||
|
|
Loading…
Reference in New Issue