Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- import the useCurrentUser hook: zimport { useCurrentUser } from "../../contexts/CurrentUserContext";z - call it within the `TaskList` component: `const currentUser = useCurrentUser();` - add it to the `useEffect` hook’s dependency array: `}, [filter, query, pathname, currentUser]);`
- Loading branch information