diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue
index 5fff0dd66..311398622 100644
--- a/resources/assets/js/components/PostComponent.vue
+++ b/resources/assets/js/components/PostComponent.vue
@@ -178,11 +178,11 @@
-
@@ -299,8 +299,8 @@ export default {
let el = $(v);
el.val(token);
});
- this.loadLikes();
this.fetchData();
+ pixelfed.hydrateLikes();
},
methods: {
fetchData() {
@@ -365,14 +365,6 @@ export default {
$('.postPresenterLoader').addClass('d-none');
$('.postPresenterContainer').removeClass('d-none');
},
- loadLikes() {
- let likes = ls.get('likes');
- if(likes.length != 0) {
- if(likes.indexOf(this.status.id) == 0) {
- $('.far.fa-heart.text-dark').addClass('fas text-danger').removeClass('far text-dark');
- }
- }
- },
}
}
\ No newline at end of file