Removed redundant code

This commit is contained in:
Daniel Cojocea committed 2024-07-31 16:33:53 -04:00
1 parent 972603c2ea
commit 6eac076847
1 file changed
-7
@@ -88,11 +88,6 @@ const CreateMonitor = () => {
} }
}; };
// const handleNotifications = (event) => {
// const { value } = event.target;
// setMonitor((prev) => ({ ...prev, notifications: value }));
// };
const handleCreateMonitor = async (event) => { const handleCreateMonitor = async (event) => {
event.preventDefault(); event.preventDefault();
//obj to submit //obj to submit
@@ -146,8 +141,6 @@ const CreateMonitor = () => {
{ _id: 5, name: "5 minutes" }, { _id: 5, name: "5 minutes" },
]; ];
console.log(monitor);
return ( return (
<Box className="create-monitor"> <Box className="create-monitor">
<Button <Button