From 00bf8b075760aeb127f098c13e126c7bd09e3b9d Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Bajpai Date: Mon, 3 Aug 2026 13:41:01 +0530 Subject: [PATCH] fix: resolve 4 bugs in HelpOps-Hub --- website3.0/components/AuthButton.js | 2 +- website3.0/components/forumpage/ForumPost.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website3.0/components/AuthButton.js b/website3.0/components/AuthButton.js index ffb8191b..9d87e32c 100644 --- a/website3.0/components/AuthButton.js +++ b/website3.0/components/AuthButton.js @@ -282,7 +282,7 @@ useEffect(() => { }, [isNotification]); return ( <> - {!isLogin && userName.length == 0 && } + {!isLogin && userName.length === 0 && } {isLogin &&
router.push(`/profile?id=${finalUser.username || finalUser._id}`)}>{isNotification && }Profile
} {showProfile1 && isLogin &&
diff --git a/website3.0/components/forumpage/ForumPost.js b/website3.0/components/forumpage/ForumPost.js index 10786468..3c502f5c 100644 --- a/website3.0/components/forumpage/ForumPost.js +++ b/website3.0/components/forumpage/ForumPost.js @@ -1029,7 +1029,7 @@ function ForumPost({ theme, id, finalUser, setMsg, setIsPopup }) { )} {!data.isAccepted - ? issue.authorId == finalUser._id && ( + ? issue.authorId === finalUser._id && (