Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website3.0/components/AuthButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ useEffect(() => {
}, [isNotification]);
return (
<>
{!isLogin && userName.length == 0 && <button className={` ${theme ? "bg-gray-100/80 text-black border-none" : "text-white bg-black border-white border"} auth-btn`} onClick={toggleAuth}>Login/Signup</button>}
{!isLogin && userName.length === 0 && <button className={` ${theme ? "bg-gray-100/80 text-black border-none" : "text-white bg-black border-white border"} auth-btn`} onClick={toggleAuth}>Login/Signup</button>}
{isLogin && <div className={`auth-btn relative ${theme ? "bg-gray-100/80 text-black border-none" : "text-white bg-black border-white border"}`} onClick={() => router.push(`/profile?id=${finalUser.username || finalUser._id}`)}>{isNotification && <span className='h-[14px] block rounded-full absolute top-[1%] right-[0px] w-[14px] bg-red-500'></span>}Profile</div>}
{showProfile1 && isLogin &&
<div className="auth-overlay">
Expand Down
2 changes: 1 addition & 1 deletion website3.0/components/forumpage/ForumPost.js
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ function ForumPost({ theme, id, finalUser, setMsg, setIsPopup }) {
<FontAwesomeIcon icon={faCheck} />
)}
{!data.isAccepted
? issue.authorId == finalUser._id && (
? issue.authorId === finalUser._id && (
<button onClick={() => handleAccept(index)}>
Mark as Accepted
</button>
Expand Down
Loading