From 2839846ec037cb09ac0556e16946b71f46872261 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 14 Feb 2019 13:53:39 -0500 Subject: [PATCH] Lint 2 --- client/homebrew/editor/metadataEditor/metadataEditor.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.jsx b/client/homebrew/editor/metadataEditor/metadataEditor.jsx index ac752d466..2ae9ddae3 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.jsx +++ b/client/homebrew/editor/metadataEditor/metadataEditor.jsx @@ -45,8 +45,7 @@ const MetadataEditor = createClass({ if(this.props.metadata.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; }