summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-listing.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r--ui/src/components/post-listing.tsx13
1 files changed, 0 insertions, 13 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx
index e170c711..f8f19448 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -102,19 +102,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
}
}
- componentDidUpdate(prevProps: PostListingProps) {
- let prevPost = prevProps.post;
- let post = this.props.post;
- if (
- prevPost.saved !== post.saved ||
- prevPost.deleted !== post.deleted ||
- prevPost.locked !== post.locked ||
- prevPost.stickied !== post.stickied
- ) {
- setupTippy();
- }
- }
-
componentWillReceiveProps(nextProps: PostListingProps) {
this.state.my_vote = nextProps.post.my_vote;
this.state.upvotes = nextProps.post.upvotes;