feat: save default habits relative to the current date #184
Annotations
10 errors
Run npm run tsc:
components/Habits/ViewHabits.tsx#L108
Argument of type 'Dispatch<SetStateAction<GoalWithHabitsAndEntries[]>>' is not assignable to parameter of type '(value: GoalWithHabitsAndEntries[]) => void | PromiseLike<void>'.
|
Run npm run tsc:
components/Habits/ViewHabits.tsx#L121
Argument of type 'Dispatch<SetStateAction<GoalWithHabitsAndEntries[]>>' is not assignable to parameter of type '(value: GoalWithHabitsAndEntries[]) => void | PromiseLike<void>'.
|
Run npm run tsc:
components/Habits/ViewHabits.tsx#L131
Argument of type 'Dispatch<SetStateAction<GoalWithHabitsAndEntries[]>>' is not assignable to parameter of type '(value: GoalWithHabitsAndEntries[]) => void | PromiseLike<void>'.
|
Run npm run tsc:
components/Habits/ViewHabits.tsx#L141
Argument of type 'Dispatch<SetStateAction<GoalWithHabitsAndEntries[]>>' is not assignable to parameter of type '(value: GoalWithHabitsAndEntries[]) => void | PromiseLike<void>'.
|
Run npm run tsc:
components/Habits/ViewHabits.tsx#L148
Expected 1 arguments, but got 0.
|
Run npm run tsc:
components/Habits/ViewHabits.tsx#L150
Argument of type 'Dispatch<SetStateAction<GoalWithHabitsAndEntries[]>>' is not assignable to parameter of type '(value: GoalWithHabitsAndEntries[]) => void | PromiseLike<void>'.
|
Run npm run tsc:
pages/add-habit.test.tsx#L10
Property 'goalsProp' is missing in type '{}' but required in type 'AddHabitProps'.
|
Run npm run tsc:
pages/api/goals/controller.ts#L1
Cannot find module 'date-fns' or its corresponding type declarations.
|
Run npm run tsc:
pages/api/goals/controller.ts#L66
No overload matches this call.
|
Run npm run tsc:
pages/api/goals/save-examples/index.api.ts#L2
Cannot find module 'date-fns' or its corresponding type declarations.
|
The logs for this run have expired and are no longer available.
Loading