aboutsummaryrefslogtreecommitdiff
path: root/src/routes/Routes.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/Routes.tsx')
-rw-r--r--src/routes/Routes.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx
index 98aeff8d..c6365613 100644
--- a/src/routes/Routes.tsx
+++ b/src/routes/Routes.tsx
@@ -12,7 +12,7 @@ import {
export type RootStackParamList = {
Login: undefined;
Registration: undefined;
- Verification: undefined;
+ Verification: {username: string; email: string} | undefined;
Profile: undefined;
Camera: undefined;
};
@@ -44,7 +44,11 @@ const Routes: React.FC<RoutesProps> = ({}) => {
component={Profile}
options={{headerShown: false}}
/>
- <RootStack.Screen name="Camera" component={Camera} />
+ <RootStack.Screen
+ name="Camera"
+ component={Camera}
+ options={{headerShown: false}}
+ />
</RootStack.Navigator>
);
};