ElectronJS and MongoDB-based patient data management system. Store, search, and analyze patient photos and data efficiently. Streamline medical care and research. Digitize patient data, enhance accessibility, optimize healthcare workflows.
After adding a new diagnosis on the patient page the app crashes and doesn't load the patient. We have to reload the page using CMD+R or CTRL+R and the error goes.
The error is most likely with the setPatient inside the usePatient hook where we set the new patient data. It can be resolved if we just change the diagnosis array of the already loaded patient.
After adding a new diagnosis on the patient page the app crashes and doesn't load the patient. We have to reload the page using
CMD+R
orCTRL+R
and the error goes.The error is most likely with the setPatient inside the usePatient hook where we set the new patient data. It can be resolved if we just change the diagnosis array of the already loaded patient.