From 2ec35b9530cf9eb6c19425d749e955e3f99e6aaa Mon Sep 17 00:00:00 2001
From: Iain Maitland <imaitland@protonmail.com>
Date: Tue, 30 Jan 2018 15:50:39 -0700
Subject: [PATCH] fmt

---
 src/app/components/elements/CloseButton.jsx   | 19 ++++++++-----------
 src/app/components/elements/Reveal.jsx        | 16 ++++++++++------
 src/app/components/elements/Voting.jsx        |  5 ++---
 src/app/components/modules/BottomPanel.jsx    |  1 -
 src/app/components/pages/PickAccount.jsx      |  6 +++---
 src/app/utils/JsPlugins.js                    |  4 ++--
 .../sign_up_pages/enter_confirm_email.jsx     |  2 +-
 .../sign_up_pages/enter_confirm_mobile.jsx    |  4 ++--
 8 files changed, 28 insertions(+), 29 deletions(-)

diff --git a/src/app/components/elements/CloseButton.jsx b/src/app/components/elements/CloseButton.jsx
index cd12d98c8..2bd02784f 100644
--- a/src/app/components/elements/CloseButton.jsx
+++ b/src/app/components/elements/CloseButton.jsx
@@ -1,19 +1,16 @@
 import PropTypes from 'prop-types';
 import React from 'react';
 
-export const CloseButton = ({
-  className,
-  ...restProps,
-}) => {
-  return (
-    <button {...restProps} className='close-button' type="button">
-      &times;
-    </button>
-  );
+export const CloseButton = ({ className, ...restProps }) => {
+    return (
+        <button {...restProps} className="close-button" type="button">
+            &times;
+        </button>
+    );
 };
 
 CloseButton.propTypes = {
-  className: PropTypes.string,
+    className: PropTypes.string,
 };
 
-export default CloseButton;
\ No newline at end of file
+export default CloseButton;
diff --git a/src/app/components/elements/Reveal.jsx b/src/app/components/elements/Reveal.jsx
index 81e1a8a66..5a57e603e 100644
--- a/src/app/components/elements/Reveal.jsx
+++ b/src/app/components/elements/Reveal.jsx
@@ -3,8 +3,7 @@ import PropTypes from 'prop-types';
 import Modal from 'react-overlays/lib/Modal';
 import Transition from 'react-overlays/lib/Transition';
 
-const Reveal = ({children, onHide, show}) => {
-
+const Reveal = ({ children, onHide, show }) => {
     const modalStyle = {
         bottom: 0,
         left: 0,
@@ -14,7 +13,7 @@ const Reveal = ({children, onHide, show}) => {
         top: 0,
         display: 'block',
         zIndex: 105,
-    }
+    };
 
     return (
         <Modal
@@ -26,16 +25,21 @@ const Reveal = ({children, onHide, show}) => {
             backdropStyle={{ display: 'block' }}
             style={modalStyle}
         >
-            <div className={'reveal fade in'} role={'document'} tabIndex={'-1'} style={{display: 'block'}}>
+            <div
+                className={'reveal fade in'}
+                role={'document'}
+                tabIndex={'-1'}
+                style={{ display: 'block' }}
+            >
                 {children}
             </div>
         </Modal>
     );
-}
+};
 
 Reveal.propTypes = {
     show: PropTypes.bool.isRequired,
     onHide: PropTypes.func.isRequired,
 };
 
-export default Reveal;
\ No newline at end of file
+export default Reveal;
diff --git a/src/app/components/elements/Voting.jsx b/src/app/components/elements/Voting.jsx
index dd0dc90b8..3d1a0e8f1 100644
--- a/src/app/components/elements/Voting.jsx
+++ b/src/app/components/elements/Voting.jsx
@@ -108,9 +108,8 @@ class Voting extends React.Component {
                 username,
                 myVote,
                 isFlag,
-                up
+                up,
             });
-
         };
 
         this.handleWeightChange = weight => {
@@ -477,7 +476,7 @@ export default connect(
     dispatch => ({
         vote: (weight, { author, permlink, username, myVote, isFlag, up }) => {
             const confirm = () => {
-                if (up === true && weight !== 0) return null; 
+                if (up === true && weight !== 0) return null;
                 const t = isFlag
                     ? ''
                     : ' ' +
diff --git a/src/app/components/modules/BottomPanel.jsx b/src/app/components/modules/BottomPanel.jsx
index 1ed1cb03c..66a5de248 100644
--- a/src/app/components/modules/BottomPanel.jsx
+++ b/src/app/components/modules/BottomPanel.jsx
@@ -1,7 +1,6 @@
 import React from 'react';
 import CloseButton from 'app/components/elements/CloseButton';
 
-
 export default class BottomPanel extends React.Component {
     static propTypes = {
         children: React.PropTypes.object,
diff --git a/src/app/components/pages/PickAccount.jsx b/src/app/components/pages/PickAccount.jsx
index e17dd3698..53e69ec59 100644
--- a/src/app/components/pages/PickAccount.jsx
+++ b/src/app/components/pages/PickAccount.jsx
@@ -284,9 +284,9 @@ class PickAccount extends React.Component {
                         style={{ maxWidth: '36rem', margin: '0 auto' }}
                     >
                         <br />
-                            <div className="progress">
-                                <div style={{width: '10%'}}></div>
-                            </div>
+                        <div className="progress">
+                            <div style={{ width: '10%' }} />
+                        </div>
 
                         <br />
                         <h4 className="CreateAccount__title">
diff --git a/src/app/utils/JsPlugins.js b/src/app/utils/JsPlugins.js
index fa856e087..b5d95e7c1 100644
--- a/src/app/utils/JsPlugins.js
+++ b/src/app/utils/JsPlugins.js
@@ -22,9 +22,9 @@ export default function init(config) {
             'ga'
         );
         ga('create', {
-            trackingId:  config.google_analytics_id,
+            trackingId: config.google_analytics_id,
             cookieDomain: 'auto',
-            sampleRate: 5
+            sampleRate: 5,
         });
     }
 }
diff --git a/src/server/sign_up_pages/enter_confirm_email.jsx b/src/server/sign_up_pages/enter_confirm_email.jsx
index 9fbf55b91..0a4253277 100644
--- a/src/server/sign_up_pages/enter_confirm_email.jsx
+++ b/src/server/sign_up_pages/enter_confirm_email.jsx
@@ -286,7 +286,7 @@ export default function useEnterAndConfirmEmailPages(app) {
                 >
                     <div className="column">
                         <div className="progress">
-                            <span style={{width: '50%'}}>Progress: 50%</span>
+                            <span style={{ width: '50%' }}>Progress: 50%</span>
                         </div>
                         <form
                             id="submit_email"
diff --git a/src/server/sign_up_pages/enter_confirm_mobile.jsx b/src/server/sign_up_pages/enter_confirm_mobile.jsx
index f470e79b8..da7e3d998 100644
--- a/src/server/sign_up_pages/enter_confirm_mobile.jsx
+++ b/src/server/sign_up_pages/enter_confirm_mobile.jsx
@@ -148,7 +148,7 @@ export default function useEnterAndConfirmMobilePages(app) {
                 >
                     <div className="column">
                         <div className="progress">
-                            <div style={{width: '90%'}}></div>
+                            <div style={{ width: '90%' }} />
                         </div>
                         <form
                             className="column"
@@ -363,7 +363,7 @@ export default function useEnterAndConfirmMobilePages(app) {
                     <div className="column">
                         <progress max="100" value="90">
                             <div className="progress">
-                                <div style={{width: '90%'}}></div>
+                                <div style={{ width: '90%' }} />
                             </div>
                         </progress>
                         Thank you for providing your phone number (
-- 
GitLab