aboutsummaryrefslogtreecommitdiff
path: root/src/routes/Routes.tsx
diff options
context:
space:
mode:
authorHusam Salhab <47015061+hsalhab@users.noreply.github.com>2020-07-14 10:10:18 -0400
committerGitHub <noreply@github.com>2020-07-14 10:10:18 -0400
commit3547018e9f803a5ff747126e16b9ef559c3f95cf (patch)
tree6041b64fcedfb6885dafa1ee496641b85b34783a /src/routes/Routes.tsx
parent5dee1e585353b6d7407f521dfa9186dbf10e8226 (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/routes/Routes.tsx')
-rw-r--r--src/routes/Routes.tsx13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx
index bf9b9fbd..98aeff8d 100644
--- a/src/routes/Routes.tsx
+++ b/src/routes/Routes.tsx
@@ -1,7 +1,13 @@
import React from 'react';
import {createStackNavigator} from '@react-navigation/stack';
-import {Login, Registration, Verification, Profile, Camera} from '../screens/onboarding';
+import {
+ Login,
+ Registration,
+ Verification,
+ Profile,
+ Camera,
+} from '../screens/onboarding';
export type RootStackParamList = {
Login: undefined;
@@ -33,8 +39,9 @@ const Routes: React.FC<RoutesProps> = ({}) => {
component={Verification}
options={{headerShown: false}}
/>
- <RootStack.Screen name="Profile"
- component={Profile}
+ <RootStack.Screen
+ name="Profile"
+ component={Profile}
options={{headerShown: false}}
/>
<RootStack.Screen name="Camera" component={Camera} />