Skip to content

Commit

Permalink
Small text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Oct 5, 2024
1 parent 29b7ef4 commit 03ee9e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@



CC: @insert pl github username here
CC: @christophertorres1
7 changes: 3 additions & 4 deletions src/components/TreeInfoPage/TreeInfoPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Pressable, Text, View } from 'react-native';
import { StatusBar } from 'expo-status-bar';
import { NativeStackScreenProps } from '@react-navigation/native-stack';
import Logo from '@/components/Logo';
import styles from './styles';

type TreeInfoPageProps = NativeStackScreenProps<
Expand All @@ -13,13 +12,13 @@ export default function TreeInfoPage({ route, navigation }: TreeInfoPageProps) {
// Just placeholder text for now to show that the tree ID is being passed
return (
<View style={styles.container}>
<Logo />
<Text>i found a tree</Text>
<Text>with an id</Text>
<Text>Tree Id:</Text>
<Text>{route.params.treeId}</Text>

<Pressable onPress={() => navigation.push('Scanner')}>
<Text>Back to scanner</Text>
</Pressable>

<StatusBar style="auto" />
</View>
);
Expand Down

0 comments on commit 03ee9e4

Please sign in to comment.