Skip to content

Commit

Permalink
fix(Router.tsx): added route for GuidesPage
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOduneye committed Oct 19, 2023
1 parent f8c96f0 commit 7b11ba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions client-new/src/navigation/AppStack.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import HomeScreen from "../screens/app/HomeScreen";
import GuideScreen from "../screens/app/GuideScreen";

const Stack = createNativeStackNavigator();

Expand All @@ -11,6 +12,7 @@ export default function AppStack() {
headerShown: false,
}}>
<Stack.Screen name="Home Screen" component={HomeScreen} />
<Stack.Screen name="Guides Page" component={GuideScreen} />
</Stack.Navigator>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
name: string;
}; PROPS INPUT */

const Guide = (/*NO PROPS*/) => {
const GuideScreen = (/*NO PROPS*/) => {
return (
<ScrollView>
<View bg="#FFB017" w={wp("100%")}>
Expand Down Expand Up @@ -153,4 +153,4 @@ const styles = StyleSheet.create({
},
});

export default Guide;
export default GuideScreen;

0 comments on commit 7b11ba1

Please sign in to comment.