Skip to content

Commit

Permalink
Admin Panel Created
Browse files Browse the repository at this point in the history
  • Loading branch information
samar12-rad committed Oct 10, 2024
1 parent 3e5e3d3 commit 35045cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Pages/Admin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Admin = () => {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
},
}
);

Expand All @@ -32,7 +32,7 @@ const Admin = () => {
}, []);

const Admin = {
name: "Samar",
name: "AdminName",
};

const [formData, setFormData] = useState({
Expand Down Expand Up @@ -85,7 +85,7 @@ const Admin = () => {
console.error('Error adding event:', error);
message.error('Error adding event');
}
};
};


// Delete event function
Expand Down

0 comments on commit 35045cf

Please sign in to comment.