|
Ultima modificación |
Ver Log
|
Rev |
Autor |
Línea Nro. |
Línea |
2671 |
stevensc |
1 |
import { useContext } from 'react'
|
|
|
2 |
import { HabitsContext } from '@app/providers/habits'
|
|
|
3 |
|
2774 |
stevensc |
4 |
export function useHabits() {
|
2671 |
stevensc |
5 |
const habitsContext = useContext(HabitsContext)
|
|
|
6 |
return habitsContext
|
|
|
7 |
}
|