undo changes to plantdetails #140
lint.yml
on: push
Run ESLint, Prettier, and TypeScript compiler
17s
Annotations
4 errors and 1 warning
Run ESLint, Prettier, and TypeScript compiler:
app/add-details/page.tsx#L127
Type '{ plant: Plant; date: string; plantingType: string; onDateChange: (date: any) => void; onPlantingTypeChange: (type: any) => void; }' is not assignable to type 'IntrinsicAttributes & { detail: Partial<UserPlants>; plant: Plant; }'.
|
Run ESLint, Prettier, and TypeScript compiler:
app/add-details/page.tsx#L129
Parameter 'date' implicitly has an 'any' type.
|
Run ESLint, Prettier, and TypeScript compiler:
app/add-details/page.tsx#L130
Parameter 'type' implicitly has an 'any' type.
|
Run ESLint, Prettier, and TypeScript compiler
Process completed with exit code 2.
|
Run ESLint, Prettier, and TypeScript compiler:
components/PlantCard/index.tsx#L16
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|