Update client/homebrew/pages/userPage/brewItem/brewItem.jsx

Co-Authored-By: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
Timothy Cyrus
2020-04-16 20:24:01 -04:00
committed by Trevor Buckner
co-authored by Trevor Buckner
parent f6d623ace3
commit 0ea80bd758
@@ -26,7 +26,7 @@ const BrewItem = createClass({
if(!confirm('Are you REALLY sure? You will lose editor access to this document.')) return;
}
request.del(`/api/${this.props.brew.editId}`)
request.delete(`/api/${this.props.brew.editId}`)
.send()
.end(function(err, res){
location.reload();