From 930e1bbfb082f6b3a476f7349e935e79e3154c0e Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Mon, 20 May 2024 15:47:29 +0200 Subject: [PATCH] fixed making likes immediately after logging in --- post_component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post_component.js b/post_component.js index 6e7c1e9..d1a8cc6 100644 --- a/post_component.js +++ b/post_component.js @@ -376,7 +376,7 @@ class PostComponent { onHeartClick(heart) { if (!this.post.hasViewerInfo) { - if (isIncognito) { + if (accountAPI.isLoggedIn) { accountAPI.loadPost(this.post.uri).then(data => { this.post = new Post(data); -- 2.51.2