diff --git a/frontend/src/assets/LeetCodeLogo.jsx b/frontend/src/assets/LeetCodeLogo.jsx index dbfd942..6c8f409 100644 --- a/frontend/src/assets/LeetCodeLogo.jsx +++ b/frontend/src/assets/LeetCodeLogo.jsx @@ -2,7 +2,7 @@ import React from 'react' const LeetCodeLogo = () => { return ( - + ) } diff --git a/frontend/src/components/OnclickCard.jsx b/frontend/src/components/OnclickCard.jsx index fd75756..b6187db 100644 --- a/frontend/src/components/OnclickCard.jsx +++ b/frontend/src/components/OnclickCard.jsx @@ -9,7 +9,7 @@ const OnclickCard = ({room}) => { return (<>
- + {showCard && }
diff --git a/frontend/src/components/Posts.jsx b/frontend/src/components/Posts.jsx index bc13110..11db49b 100644 --- a/frontend/src/components/Posts.jsx +++ b/frontend/src/components/Posts.jsx @@ -111,9 +111,6 @@ const Posts = ({ id, post, title,topic, body, media, countComment, inRoom, room, } if (isLogin) { let val = 1; - console.log("Inside UPvotes") - console.log(upvoted); - console.log(upvoteNumber) if (!upvoted) { setUpvoted(true); if(insideOverView) @@ -170,9 +167,6 @@ const Posts = ({ id, post, title,topic, body, media, countComment, inRoom, room, return; } let val = -1; - console.log("Inside downvotes") - console.log(downvote); - console.log(downvoteNum); if (!downvote) { setDownVote(true); if (upvoted) { diff --git a/frontend/src/components/ProfileLayout.jsx b/frontend/src/components/ProfileLayout.jsx index 05b8e32..1a61aa5 100644 --- a/frontend/src/components/ProfileLayout.jsx +++ b/frontend/src/components/ProfileLayout.jsx @@ -131,9 +131,9 @@ const ProfileLayout = ({ isLoading, user }) => { -
+
{user.showLC && - } @@ -144,11 +144,6 @@ const ProfileLayout = ({ isLoading, user }) => {
} - {/* {user.showLC &&
- -
} */} {showLCard &&
@@ -200,7 +195,6 @@ export const handleDpChange = async ({ dpLoc, setBtnLoading, dispatch, setIsOpen }); if (res.status == 202) { - console.log(res); dispatch(setUserInfo(res.data)); dispatch(setDp(res.data.dp))