diff options
| author | Husam Salhab <47015061+hsalhab@users.noreply.github.com> | 2020-07-14 10:10:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-14 10:10:18 -0400 |
| commit | 3547018e9f803a5ff747126e16b9ef559c3f95cf (patch) | |
| tree | 6041b64fcedfb6885dafa1ee496641b85b34783a /src/screens/onboarding/Login.tsx | |
| parent | 5dee1e585353b6d7407f521dfa9186dbf10e8226 (diff) | |
Add linter to Github Actions (#18)
* added lint.yml
* updated to run on PRs
* uses yarn lint
* fixed linting error
* fixed some more linting
Diffstat (limited to 'src/screens/onboarding/Login.tsx')
| -rw-r--r-- | src/screens/onboarding/Login.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/onboarding/Login.tsx b/src/screens/onboarding/Login.tsx index c06f6f27..e8500eec 100644 --- a/src/screens/onboarding/Login.tsx +++ b/src/screens/onboarding/Login.tsx @@ -150,7 +150,7 @@ const Login: React.FC<LoginProps> = ({navigation}: LoginProps) => { * Handles tap on "Get Started" text by resetting fields & navigating to the registration page. */ const goToRegistration = () => { - navigation.navigate('Registration'); + navigation.navigate('Registration'); setForm({...form, attemptedSubmit: false}); }; @@ -310,8 +310,8 @@ const styles = StyleSheet.create({ textDecorationLine: 'underline', }, button: { - marginVertical: '10%' - } + marginVertical: '10%', + }, }); export default Login; |
