feat: add edit function for past submissions including answers and ti…#58
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
summary of all changes made: Files created: lib/scoring.ts — calculateTotalScore extracted as a shared utility (pure JS, usable on both server and client) app/(main)/patient/[id]/history/[submissionId]/page.tsx — Now just fetches data server-side and passes it to EditSubmissionClient |
7c9b5af to
b1aa17c
Compare
090ba5b to
c6f697d
Compare
b1aa17c to
65960b3
Compare
eabe4fe to
dd8d76d
Compare
…mestamps