Removed redundant code

This commit is contained in:
Daniel Cojocea
2024-07-31 16:33:53 -04:00
parent 972603c2ea
commit 6eac076847

View File

@@ -88,11 +88,6 @@ const CreateMonitor = () => {
}
};
// const handleNotifications = (event) => {
// const { value } = event.target;
// setMonitor((prev) => ({ ...prev, notifications: value }));
// };
const handleCreateMonitor = async (event) => {
event.preventDefault();
//obj to submit
@@ -146,8 +141,6 @@ const CreateMonitor = () => {
{ _id: 5, name: "5 minutes" },
];
console.log(monitor);
return (
<Box className="create-monitor">
<Button