import { StyleSheet, Text, View } from "react-native" import { SafeAreaView } from "react-native-safe-area-context" import { useHabitsTracker } from "@/presentation/react/contexts/HabitsTracker" const HabitsPage: React.FC = () => { const { habitsTracker } = useHabitsTracker() return ( {habitsTracker.habitsHistory.map((progressHistory) => { const { habit } = progressHistory return ( {habit.name} ) })} ) } const styles = StyleSheet.create({ container: { flex: 1, alignItems: "center", justifyContent: "center", }, }) export default HabitsPage