Consecutive Days Calculation Not Persisting Across Page Reloads in Next.js and Prisma”
I am developing a habit-tracking application using React for the frontend and Prisma with a PostgreSQL database for the backend. My app includes the functionality to log daily habits and calculate consecutive days for each habit based on the status of the logs.