DEV Community

Discussion on: Build a Full Stack App with Next.js, Tailwind, tRPC and Prisma ORM

Collapse
 
franciscomendes10866 profile image
Francisco Mendes • Edited

Thanks for the comment 💪, I already fixed the import of the components. Regarding the problems you are having with the grocery list data types, they are probably related to the lack of data types generation or a new migration.

And here square brackets should be used and not curly brackets:

const [itemName, setItemName] = useState<string>("");
Enter fullscreen mode Exit fullscreen mode
Collapse
 
francisrod01 profile image
Francis Rodrigues

Thanks, but I didn't find the solution for the import of the components, neither in the repo.