Skip to content

Commit

Permalink
Merge pull request #25 from utmgdsc/errorhandle/54/resolve-conflict
Browse files Browse the repository at this point in the history
discarded some repeated code
  • Loading branch information
Eileenchen02 authored Nov 17, 2023
2 parents 3990c3f + ca5a0e6 commit ac07e7f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions frontend/src/screens/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ export default function DashBoardScreen(): JSX.Element {
>
<WidgetBox title="Food" content="10.6" />
</TouchableOpacity>
<TouchableOpacity
onPress={() => {
navigation.navigate('FoodHistory');
}}
>
<WidgetBox title="Food" content="10.6" />
</TouchableOpacity>
</View>

<View style={styles.widgetBoarder}>
Expand All @@ -81,13 +74,6 @@ export default function DashBoardScreen(): JSX.Element {
>
<WidgetBox title="Transportatin" content="12.4" />
</TouchableOpacity>
<TouchableOpacity
onPress={() => {
navigation.navigate('TransportationHistory');
}}
>
<WidgetBox title="Transportatin" content="12.4" />
</TouchableOpacity>
</View>
</View>
</View>
Expand Down

0 comments on commit ac07e7f

Please sign in to comment.