Skip to content

Commit

Permalink
add blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
rukshanuddin committed Apr 30, 2020
1 parent 4b4598a commit 5f4f73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BLOGPOST.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Lastly, I added a ```.catch()``` to handle any errors that come up in the previo
I added a button to delete "handles" from my application. Now, since we want to keep everything on one page (no redirects), I utilized a fetch request to **DELETE** "handles" from my database.
### Event Listener
### Event Listener for Delete Button
The first step I took was to add a listener to the delete button I had created.
Expand Down Expand Up @@ -239,4 +239,4 @@ function deleteHandle(handleId) {
}
```
After this, I take call ```clearHandles()``` to clear old handle data and ```fetchHandles()``` again to receive and updated list.
After this, I take call ```clearHandles()``` to clear old handle data and ```fetchHandles()``` again to receive and updated list.

0 comments on commit 5f4f73e

Please sign in to comment.