Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
volcareso committed Nov 29, 2021
1 parent f28b29d commit 848b993
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ export default function Home() {
swal("oops!", json.message, "warning")
}
})



// var data__ = { name: event.target.name.value, url: event.target.url.value };
// fetch("/api/create", {
// method: 'POST',
// headers: {
// 'Content-Type': 'application/json',
// },
// body: JSON.stringify(data__),
// }).then(res => swal("message", res.json().message))
}

return (
Expand Down

1 comment on commit 848b993

@vercel
Copy link

@vercel vercel bot commented on 848b993 Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.