From eb65bd33a45ea4e222b9b78beb5178994fe2a356 Mon Sep 17 00:00:00 2001 From: Edward Ly Date: Tue, 23 Sep 2025 23:03:21 -0700 Subject: [PATCH] fix(comments): explicitly return limbo status of comment Otherwise, the `checkForId` function returns `undefined` regardless of whether the comment is in limbo or not. Signed-off-by: Edward Ly --- apps/comments/src/store/deletedCommentLimbo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/comments/src/store/deletedCommentLimbo.js b/apps/comments/src/store/deletedCommentLimbo.js index 3e511addebb..b97baf9318d 100644 --- a/apps/comments/src/store/deletedCommentLimbo.js +++ b/apps/comments/src/store/deletedCommentLimbo.js @@ -22,7 +22,7 @@ export const useDeletedCommentLimbo = defineStore('deletedCommentLimbo', { }, checkForId(id) { - this.idsInLimbo.includes(id) + return this.idsInLimbo.includes(id) }, }, })