From 817d9b0d3e1becdb2e8dbf51caa09edab8d14ab0 Mon Sep 17 00:00:00 2001
From: fragosti <francesco.agosti93@gmail.com>
Date: Fri, 1 Jun 2018 11:40:06 -0700
Subject: Add styled-components and polished

---
 packages/website/ts/components/forms/subscribe_form.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/website/ts/components/forms/subscribe_form.tsx')

diff --git a/packages/website/ts/components/forms/subscribe_form.tsx b/packages/website/ts/components/forms/subscribe_form.tsx
index 8bb0f4fc7..3a6d0901f 100644
--- a/packages/website/ts/components/forms/subscribe_form.tsx
+++ b/packages/website/ts/components/forms/subscribe_form.tsx
@@ -58,8 +58,8 @@ export class SubscribeForm extends React.Component<SubscribeFormProps, Subscribe
     }
     private async _handleSubscribeClickAsync(): Promise<void> {
         this._setStatus(SubscribeFormStatus.Loading);
-        const success = await backendClient.subscribeToNewsletterAsync(this.state.emailText);
-        const status = success ? SubscribeFormStatus.Success : SubscribeFormStatus.Error;
+        const isSuccess = await backendClient.subscribeToNewsletterAsync(this.state.emailText);
+        const status = isSuccess ? SubscribeFormStatus.Success : SubscribeFormStatus.Error;
         this._setStatus(status);
     }
     private _setStatus(status: SubscribeFormStatus): void {
-- 
cgit v1.2.3

