From 502ef6ad7cb9a2b1eaeff32a114a5377c8e94b40 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 14 Feb 2019 13:53:04 -0500 Subject: [PATCH] Lint --- client/homebrew/pages/userPage/brewItem/brewItem.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/homebrew/pages/userPage/brewItem/brewItem.jsx b/client/homebrew/pages/userPage/brewItem/brewItem.jsx index 3dd780974..1bea29c8a 100644 --- a/client/homebrew/pages/userPage/brewItem/brewItem.jsx +++ b/client/homebrew/pages/userPage/brewItem/brewItem.jsx @@ -21,12 +21,11 @@ const BrewItem = createClass({ if(this.props.brew.authors.length <= 1){ if(!confirm('Are you sure you want to delete this brew? Because you are the only owner of this brew, the document will be deleted permanently.')) return; if(!confirm('Are you REALLY sure? You will not be able to recover the document.')) return; - } - else{ + } else { if(!confirm('Are you sure you want to remove this brew from your collection? This will remove you as an editor, but other owners will still be able to access the document.')) return; if(!confirm('Are you REALLY sure? You will lose editor access to this document.')) return; } - + request.get(`/api/remove/${this.props.brew.editId}`) .send() .end(function(err, res){