From 9b905468352d8bac49d9d68238236187305565b3 Mon Sep 17 00:00:00 2001 From: newwares Date: Sat, 23 Mar 2024 19:08:47 -0400 Subject: [PATCH] oops [] is truthy --- src/plugins/findReply/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/findReply/index.tsx b/src/plugins/findReply/index.tsx index f5cabf94f..efb29d982 100644 --- a/src/plugins/findReply/index.tsx +++ b/src/plugins/findReply/index.tsx @@ -75,7 +75,7 @@ export default definePlugin({ addButton("vc-findreply", message => { if (!message.id) return null; const replies = findReplies(message); - if (Vencord.Settings.plugins.FindReply.hideButtonIfNoReply && !replies) return null; + if (Vencord.Settings.plugins.FindReply.hideButtonIfNoReply && !replies.length) return null; return { label: "Jump to Reply", icon: FindReplyIcon,