From 35045cf0c7bd6a985117c72ec2b5121e8f7c1e3b Mon Sep 17 00:00:00 2001 From: Samarth Vaidya Date: Fri, 11 Oct 2024 04:09:13 +0530 Subject: [PATCH] Admin Panel Created --- frontend/src/components/Pages/Admin.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Pages/Admin.jsx b/frontend/src/components/Pages/Admin.jsx index 88fb4e01..5e646564 100644 --- a/frontend/src/components/Pages/Admin.jsx +++ b/frontend/src/components/Pages/Admin.jsx @@ -16,7 +16,7 @@ const Admin = () => { method: 'GET', headers: { 'Content-Type': 'application/json', - }, + }, } ); @@ -32,7 +32,7 @@ const Admin = () => { }, []); const Admin = { - name: "Samar", + name: "AdminName", }; const [formData, setFormData] = useState({ @@ -85,7 +85,7 @@ const Admin = () => { console.error('Error adding event:', error); message.error('Error adding event'); } - }; + }; // Delete event function