Skip to content

Commit

Permalink
styled category task view + edit task
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepThePatel committed Apr 23, 2024
1 parent 303c643 commit f616ab2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions screens/CategoryTasksView.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@ const CategoryTasksView = ({ route, navigation }) => {
return () => unsubscribe();
}, [category, userID]);

// Set navigation options dynamically
useEffect(() => {
navigation.setOptions({
headerTitle: `${category} Active Tasks`
});
}, [category, navigation]);

return (
<<<<<<< HEAD
<View style={{ flex: 1}}>
<View style={styles.header}>
<Pressable onPress={() => navigation.goBack()}>
Expand All @@ -46,9 +38,6 @@ const CategoryTasksView = ({ route, navigation }) => {
<View style={{width: 24}}/>
</View>
<View style={styles.container}>
=======
<View style={styles.container}>
>>>>>>> c19cac2c10a840941d2d298e91960d273d6a61ea
<FlatList
data={tasks}
keyExtractor={item => item.id.toString()}
Expand Down

0 comments on commit f616ab2

Please sign in to comment.