From 3547018e9f803a5ff747126e16b9ef559c3f95cf Mon Sep 17 00:00:00 2001
From: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
Date: Tue, 14 Jul 2020 10:10:18 -0400
Subject: Add linter to Github Actions (#18)

* added lint.yml

* updated to run on PRs

* uses yarn lint

* fixed linting error

* fixed some more linting
---
 src/components/onboarding/SubmitButton.tsx | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'src/components/onboarding/SubmitButton.tsx')

diff --git a/src/components/onboarding/SubmitButton.tsx b/src/components/onboarding/SubmitButton.tsx
index d6a0d8d5..4a03bf52 100644
--- a/src/components/onboarding/SubmitButton.tsx
+++ b/src/components/onboarding/SubmitButton.tsx
@@ -14,7 +14,7 @@ interface SubmitButtonProps extends TouchableOpacityProps {
 
 /*
  * A button component that creates a TouchableOpacity in the style of our onboarding buttons. It takes in props to define the text in the TouchableOpacity as well as the background color.
-*/
+ */
 const SubmitButton: React.FC<SubmitButtonProps> = (
   props: SubmitButtonProps,
 ) => {
@@ -22,11 +22,7 @@ const SubmitButton: React.FC<SubmitButtonProps> = (
     <View {...props}>
       <TouchableOpacity
         {...props}
-        style={[
-          styles.button,
-          {backgroundColor: props.color},
-        ]}
-      >
+        style={[styles.button, {backgroundColor: props.color}]}>
         <Text style={styles.text}>{props.text}</Text>
       </TouchableOpacity>
     </View>
-- 
cgit v1.2.3-70-g09d2

