From 4352161668b0ae134c089d8f184c6aaea5b52aa0 Mon Sep 17 00:00:00 2001 From: Jithin-caz <117753804+Jithin-caz@users.noreply.github.com> Date: Sun, 4 Feb 2024 23:11:27 +0530 Subject: [PATCH] new --- .../IdeaSubmission/IdeaSubmission.jsx | 14 ++++---- src/components/Navbar/navbar.jsx | 25 +++++++------- src/components/SIgnIn/resetpass.jsx | 2 +- src/components/SIgnIn/signin.jsx | 18 +++++----- src/components/dash/dashInd.jsx | 33 ++++++++++--------- 5 files changed, 49 insertions(+), 43 deletions(-) diff --git a/src/components/IdeaSubmission/IdeaSubmission.jsx b/src/components/IdeaSubmission/IdeaSubmission.jsx index 2ee88d7..1fe44b9 100644 --- a/src/components/IdeaSubmission/IdeaSubmission.jsx +++ b/src/components/IdeaSubmission/IdeaSubmission.jsx @@ -17,6 +17,9 @@ export default function IdeaSubmission() { const [teamname,setTeamname]=useState('') const [datafetched,setDataFetched]=useState(false) + const logOut=async()=>{ + const res=await axios.get(`${API}/auth/logout`,{withCredentials:true}) + } const getter=async()=>{ const res=await axios.get(`${API}/auth/profile`,{withCredentials:true}) @@ -62,8 +65,8 @@ console.log(res) return (datafetched?
-

Idea Submission

-
+

Idea Submission

+
@@ -142,7 +145,7 @@ console.log(res)