diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-05 11:29:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 11:29:55 -0700 |
commit | 89fc975a150d8c1f79d2a728f9f252fc3438a613 (patch) | |
tree | 251887b1eb13fbbeac74b0b4a43bbba2376fe0b2 /src/state/models/feeds/post.ts | |
parent | d53cbb91bb91fe3da360c22b2dbd966b9bc39a83 (diff) | |
download | voidsky-89fc975a150d8c1f79d2a728f9f252fc3438a613.tar.zst |
Perf: switch to stable react keys (#1113)
Diffstat (limited to 'src/state/models/feeds/post.ts')
-rw-r--r-- | src/state/models/feeds/post.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/feeds/post.ts b/src/state/models/feeds/post.ts index 68cc3de4c..ae4f29105 100644 --- a/src/state/models/feeds/post.ts +++ b/src/state/models/feeds/post.ts @@ -28,10 +28,10 @@ export class PostsFeedItemModel { constructor( public rootStore: RootStoreModel, - reactKey: string, + _reactKey: string, v: FeedViewPost, ) { - this._reactKey = reactKey + this._reactKey = _reactKey this.post = v.post if (FeedPost.isRecord(this.post.record)) { const valid = FeedPost.validateRecord(this.post.record) |