This PR focuses on improving the organization of the files for the tasks page so it's easier to understand what is going on, these are the main points:
Transform TaskForm.tsx into DayView.tsx, this is more inline of what that part of the page represents, the task listing / creation on a single day view, thus making the TaskList separate from the form.
Break useTask.ts into different files, one for each hook. there was no useTask hook so it doesn't make any sense to have that file.
This PR focuses on improving the organization of the files for the tasks page so it's easier to understand what is going on, these are the main points:
Transform
TaskForm.tsx
intoDayView.tsx
, this is more inline of what that part of the page represents, the task listing / creation on a single day view, thus making theTaskList
separate from the form.Break
useTask.ts
into different files, one for each hook. there was nouseTask
hook so it doesn't make any sense to have that file.